Commit Graph

467 Commits (3153340447df210f397a5f650069435586662a9b)

Author SHA1 Message Date
Lee Rowlands 4399299b53
Issue #3169578 by TR: Remove dead code: ResourceTestBase::getExpectedBcUnauthorizedAccessMessage() 2020-09-10 15:20:00 +10:00
Alex Pott 472b19010a
Issue #3139418 by mondrake, jungle, longwave: Replace usages of AssertLegacyTrait::assert(No)LinkByHref, that is deprecated 2020-09-08 16:00:31 +01:00
catch c09dc39b8f Issue #3139419 by mondrake, aleevas: Replace usages of AssertLegacyTrait::assertUrl, that is deprecated 2020-09-02 14:52:13 +01:00
catch c532b2f9b2 Issue #3139442 by mondrake, munish.kumar, Hardik_Patel_12, jungle, mohrerao, alexpott: Replace usages of AssertLegacyTrait::constructFieldXpath, that is deprecated 2020-09-01 10:48:04 +01:00
catch 95af12b524 Issue #3005641 by ridhimaabrol24, matsbla, tanubansal, jungle, msankhala, dww, quietone, hchonov: Exception is thrown on changing "Site language" setting of a user if user account is translated 2020-08-31 09:51:48 +01:00
catch 3e0f0155a4 Issue #3131186 by mondrake, Vidushi Mehta, longwave, paulocs, xjm: Replace assertions involving calls to drupalGetHeader() with session-based assertions, where possible 2020-08-28 15:08:46 +01:00
catch f4fd2d7336 Issue #3166349 by paulocs, snehalgaikwad, naresh_bavaskar, mondrake: Remove uses of t() in assertNoText() 2020-08-28 12:48:09 +01:00
catch 4a7c205450 Issue #3153143 by ridhimaabrol24, Hardik_Patel_12, siddhant.bhosale, guptahemant, quietone, paulocs: Remove uses of t() in linkExists() and linkNotExists() calls 2020-08-28 10:46:35 +01:00
Lee Rowlands 82949679ce
Issue #3143870 by mondrake, pavnish, longwave: Calls to AssertLegacyTrait::assertUrl() have wrong number of arguments 2020-08-28 11:22:44 +10:00
catch 1b628f44b3 Issue #2193803 by wturrell, ridhimaabrol24, mglaman, Pavan B S, narendra.rajwar27, abhisekmazumdar, dpi, manish.upadhyay, pankaj.singh, paulocs, Charles Belov, quietone, catch, jim_at_miramontes, dawehner, goodboy: Anonymous users receive access denied when attempting to logout 2020-08-27 10:14:13 +01:00
catch 49d9b09e64 Issue #3139436 by mondrake, jungle: Replace usages of AssertLegacyTrait::assertPattern, that is deprecated 2020-08-10 17:32:31 +01:00
catch b7d7a1dd0b Issue #3153085 by kim.pepper, longwave, alexpott, vijaycs85, catch: Deprecate user_password and move to Password Generator service 2020-08-10 12:28:40 +01:00
catch 7628e38b90 Issue #3139433 by mondrake, Hardik_Patel_12, mohrerao, jungle: Replace usages of AssertLegacyTrait::assert(No)Escaped, that is deprecated 2020-08-10 11:29:50 +01:00
catch 30ca835cce Issue #3139408 by mondrake, jungle, dww: Replace usages of AssertLegacyTrait::assert(No)Field, that is deprecated 2020-08-10 11:26:28 +01:00
Alex Pott 3312c7b19f
Issue #3160267 by nijolawrence, jungle, daffie, alexpott: Change static queries to dynamic queries in core/modules/{every module}/tests 2020-08-07 22:47:39 +01:00
Alex Pott 661d8a83f6
Revert "Issue #2780869 by claudiu.cristea, Lendude, joachim, jmadden27: Cannot save a view where a filter value option contains a period"
This reverts commit 104bca1e0e.
2020-08-03 12:35:50 +01:00
Alex Pott 402567d128
Issue #3142749 by munish.kumar, shaktik, pavnish, sja112, ravi.shankar, Lal_, mondrake, daffie, xjm: AssertLegacyTrait::assertPattern() calls in functional tests still have a message passed in 2020-07-31 18:02:28 +01:00
Alex Pott 427c7ee7cc
Issue #3160031 by quietone, jungle, longwave, jameszhang023: Fix 18 spelling errors for migrate specific terms 2020-07-31 16:50:43 +01:00
catch d7300cc380 Issue #3142755 by sja112, mondrake, alexpott, mrinalini9, xjm: AssertLegacyTrait::assert(No)Field() in functional tests still have a message passed in 2020-07-29 14:57:52 +01:00
catch ef3190f75a Issue #3157954 by alexpott, andypost: Remove unnecessary route rebuild from tests 2020-07-16 22:21:08 +01:00
Alex Pott f7277d249b
Issue #3156266 by longwave, jungle, siddhant.bhosale, alexpott: Fix 70 spelling mistakes 2020-07-16 13:53:59 +01:00
Alex Pott 09c6b3d80d
Issue #3139428 by jungle, ridhimaabrol24, Hardik_Patel_12, mondrake, mrinalini9, Bunty Badgujar: Replace usages of deprecated AssertLegacyTrait::assert(No)FieldChecked() 2020-07-15 23:46:47 +01:00
Alex Pott 104bca1e0e
Issue #2780869 by claudiu.cristea, Lendude, joachim, jmadden27: Cannot save a view where a filter value option contains a period 2020-07-15 15:59:38 +01:00
catch 191df984e2 Issue #2847808 by longwave, dpi, aburrows, Krzysztof Domański, xjm, yoroy: Change "Administer permissions" to "Administer roles and permissions" 2020-07-14 13:33:04 +01:00
catch eafefd897a Issue #2619482 by cburschka, ankit.singh, ravi.shankar, jungle, daffie: Convert all get_called_class()/get_class() to static:: 2020-07-13 15:35:49 +01:00
catch 488b2cee3b Issue #3139426 by jungle, rajandro, mohrerao, sja112, mondrake: Replace usages of deprecated AssertLegacyTrait::assertOptionSelected() 2020-07-13 15:32:37 +01:00
catch a050029323 Issue #3135538 by mondrake, longwave, jungle: Replace remaining assert* involving use of count() where relevant 2020-07-02 13:16:28 +01:00
catch 2b7d2e1e26 Issue #3139437 by pavnish, mrinalini9, mondrake, longwave, Bunty Badgujar: Replace usages of AssertLegacyTrait::assertCacheTag, that is deprecated 2020-06-29 16:26:59 +01:00
Alex Pott 5ded531763
Issue #3151520 by adityasingh, pavnish, daffie, alexpott: Replace the database query with an entity query in UserInstallTest 2020-06-29 09:57:39 +01:00
catch e76396d4cc Issue #3154461 by Hardik_Patel_12: Removing getFormObject call from UserAccountFormFieldsTest 2020-06-26 12:13:00 +01:00
xjm 69fc22c0d2 Issue #3138796 by jungle, mohrerao, sja112, kkalashnikov, xjm, ketikagrover: Fix the typos "cotrol" and make the one-line summaries containing it conform to standards) 2020-06-25 09:05:22 -05:00
xjm de32f3ca2d Issue #3133033 by munish.kumar, xjm, Hardik_Patel_12, daffie, swatichouhan012: Fix Drupal.Array.Array.LongLineDeclaration coding standard for instances of the drupalCreateUser() test method 2020-06-21 16:39:19 -05:00
xjm 94ca9bc3a0 Issue #2972224 by alexpott, longwave, jungle, sja112, xjm, dww, daffie, kiamlaluno, dawehner, quietone, Lendude: Add .cspell.json to automate spellchecking in Drupal core 2020-06-21 14:15:29 -05:00
Lee Rowlands aece6314d8
Issue #3072305 by jungle, andypost, thursday_bw, longwave, larowlan: Notice: Undefined index: #item in user_user_view_alter() 2020-06-19 06:40:00 +10:00
Alex Pott 0f9cecbab6
Issue #3139414 by cburschka, mohrerao, pavnish, jungle, ravi.shankar, daffie, mondrake, sja112: Replace usages of deprecated AssertLegacyTrait::assert(No)Link() 2020-06-16 10:29:37 +01:00
Alex Pott 9dc4233091
Issue #3135077 by mondrake, sja112, daffie, longwave, xjm: Remove usage of AssertLegacyTrait::pass() from traits 2020-06-15 12:30:21 +01:00
Lee Rowlands 8a65b5f8e3
Issue #3150070 by andypost: Fix new test modules variable visibility 2020-06-09 19:23:58 +10:00
Lee Rowlands 9461f4ab6f
Issue #2983395 by mcdruid, narendra.rajwar27, andypost, yogeshmpawar, vijaycs85, prabha1997, swatichouhan012, amjad1233, SunnyGambino, larowlan, borisson_, anavarre, kim.pepper, alexpott: user module's flood controls should do better logging 2020-06-09 08:54:48 +10:00
Alex Pott 9d1faa52f4
Issue #2824935 by idebr, mfernea, Deepak Goyal, pfrenssen, longwave, hgunicamp, jofitz, andypost, daffie: Fix Squiz.ControlStructures.SwitchDeclaration coding standard 2020-06-02 09:46:52 +01:00
xjm 88375258cd Issue #3139412 by Bunty Badgujar, longwave, mondrake, xjm: Replace usages of deprecated AssertLegacyTrait::assertTitle() 2020-05-29 16:55:45 -05:00
Alex Pott 0955fd0458
Issue #3123068 by longwave: Fix 'Drupal.Semantics.FunctionT.ConcatString' coding standard 2020-05-29 15:41:42 +01:00
xjm e4e64fa0ee Issue #3143339 by mohrerao, mondrake, longwave: Clean up the arguments of calls to WebAssert::titleEquals() and AssertLegacyTrait::assertTitle() 2020-05-28 17:29:40 -05:00
xjm 1acb0bb4c2 Issue #3134308 by quietone, mrinalini9, benjifisher, xjm: Change 'is was' to 'is' in comments 2020-05-25 08:45:47 -05:00
xjm 68a59ee322 Issue #3139421 by mondrake, mrinalini9, daffie: Replace usages of deprecated AssertLegacyTrait::assert(No)Option() 2020-05-24 14:55:23 -05:00
xjm 11387380d5 Issue #3139218 by mondrake, daffie: Replace usages of AssertLegacyTrait::assertResponse(), which is deprecated 2020-05-24 08:33:20 -05:00
Alex Pott 409af2de16
Issue #3136389 by jyotimishra123, Hardik_Patel_12, Suresh Prabhu Parkala, shimpy, longwave, quietone: Remove '@group legacy' from tests that do not exercise deprecated code 2020-05-23 15:32:19 +01:00
xjm f09c890298 Issue #3132964 by jungle, longwave, sja112, dww, xjm, daffie: assertResponse() does not actually support a $message parameter, so stop passing one 2020-05-22 12:37:50 -05:00
catch 421c588c16 Issue #3131343 by mondrake, dww, jungle: Replace assertions involving calls to in_array() with assertContains()/assertNotContains() 2020-05-11 09:10:55 +01:00
catch 40a5bd7e0a Issue #3126965 by jungle, quietone, longwave, mondrake, dww: Replace assert* involving count() and an integer literal with assertCount() 2020-05-07 19:07:00 +01:00
xjm 2718a80a6b Issue #3131818 by jungle, mero.S: Replace assertions involving calls to is_object() with assertIsObject()/assertIsObject() 2020-05-04 07:54:35 -05:00
Alex Pott 483193b416
Issue #3082006 hotfix: User password field is empty in Views 2020-05-03 12:45:16 +01:00
Alex Pott 999dbefc55
Issue #3082006 by id.aleks, cambraca, mr.baileys, sokru, alexpott, larowlan, longwave: User password field is empty in Views 2020-05-03 12:40:58 +01:00
Alex Pott 023ef0412c
Issue #3131258 by longwave, mondrake, dww: Remove redundant $message from assertFile(Not)Exists and assertDirectory(Not)Exists calls 2020-05-02 13:11:18 +01:00
Alex Pott ed11f4f853
Issue #2978398 by ilya.no, mcdruid, iyyappan.govind, aleevas, quietone, joachim, tvb, alexpott, catch: UserPasswordResetTest extends PageCacheTagsTestBase unecessarily 2020-05-02 13:05:08 +01:00
Alex Pott 3f87e0d805
Issue #3132745 by jungle, longwave, xjm, swatichouhan012, daffie: Fix Drupal.Array.Array.LongLineDeclaration coding standard for instances of the $modules test property 2020-05-02 12:34:00 +01:00
xjm 767d453d30 Issue #3100251 by Hardik_Patel_12, longwave: Several code comments have incorrect namespaces for classes or interfaces they reference 2020-05-01 20:23:15 -05:00
catch 6cf25ba266 Issue #3131474 by jungle, mondrake: Replace assertions involving calls to array_search() with assertContains()/assertNotContains() 2020-05-01 09:48:22 +01:00
catch 27515dc255 Issue #3130811 by mondrake, jungle, longwave: Remove redundant $message from assert(Not)InstanceOf calls 2020-04-27 10:35:37 +01:00
catch de052f01c7 Issue #3130396 by longwave, jungle, dww, mondrake: Replace assertions involving calls to is_file with assertFileExists()/assertFileNotExists() 2020-04-27 10:31:21 +01:00
catch 4d02fe7c25 Issue #3128746 by mondrake, longwave, dww: Replace assertions involving calls to strpos() with more accurate string assertions 2020-04-27 10:02:44 +01:00
catch bcec845d85 Issue #3128575 by longwave, jungle, daffie: Replace assert*(*, is_null()) with assertNotNull()/assertNull() 2020-04-27 09:20:37 +01:00
catch 4fe0b034a9 Issue #3128905 by jungle, longwave, Kristen Pol, mondrake: Replace assert* involving an instanceof operator with assertInstanceOf()/assertNotInstanceOf() 2020-04-24 21:27:52 +01:00
catch be4177a92e Issue #3084078 by lauriii, alexpott, Jaesin: AdminNegotiator::determineActiveTheme() does not adhere to the interface 2020-04-24 14:21:43 +01:00
Alex Pott 3ea981a11f
Issue #3128814 by longwave, jungle, dww: Replace assert* involving count() and an equality operator with assertCount() 2020-04-20 10:21:24 +01:00
Alex Pott a6e402fc01
Issue #3126563 by mondrake, daffie, alexpott: Replace usage of assertAttributeEquals() that is deprecated 2020-04-18 10:31:47 +01:00
catch 5132c83fac Issue #3082415 by Krzysztof Domański, mondrake, alexpott, longwave, jungle: Replace assert(Not)Same/Identical() on booleans with assert(Not)True/False() in PHPUnit tests 2020-04-17 16:00:07 +01:00
Alex Pott 6bf02d966d
Issue #2822382 by voleger, pfrenssen, erozqba, jungle, RytoEX, borisson_, jofitz, shashikant_chauhan, sidharthap, dawehner, xjm, kiamlaluno, catch, daffie, klausi: Make every $modules property protected on classes extending BrowserTestBase and KernelTestBase 2020-04-13 12:05:00 +01:00
Alex Pott 0dc28534c8
Issue #3107732 by mondrake, longwave, swatichouhan012, salah1, xjm, catch, alexpott, Berdir: Between April 13 and April 17, 2020: Add return typehints to setUp/tearDown methods in concrete test classes 2020-04-13 09:56:30 +01:00
catch c964d76ad9 Issue #2966856 by Gábor Hojtsy, quietone, alexpott, vuil, catch, heddn: Hide and disable Drupal Migrate Multilingual 2020-03-13 17:29:40 +00:00
Alex Pott 2267926607
Issue #3101516 by blazey: Add the EntityAutocompleteMatcherInterface 2020-02-21 14:27:51 +00:00
Alex Pott 83cb3c87d0
Issue #3106215 by Hardik_Patel_12: Unused private method updateAccess() 2020-02-10 14:15:30 +00:00
catch c674f626b8 Issue #3106222 by Hardik_Patel_12, longwave: Unused variable $extensions in PermissionHandlerTest.php file 2020-02-04 12:07:53 +00:00
catch 720924f719 Issue #2893804 by Wim Leers, Stefdewa, Berdir, catch: Remove rest.module BC layers 2020-01-27 17:41:43 +00:00
catch e1a041c493 Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88** 2020-01-24 23:52:03 +00:00
Lee Rowlands 2e53ac1699
Revert "Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**"
This reverts commit 136f055066.
2020-01-22 10:30:15 +10:00
Lee Rowlands 136f055066
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88** 2020-01-22 09:33:30 +10:00
Lee Rowlands 7d5fbe966c
Issue #3097445 by andypost, Berdir: Remove all @deprecated code in the User module except user:name token 2019-12-13 17:21:37 +10:00
Alex Pott 8466fbc982
Issue #3007288 by yongt9412, mbovan, Berdir: LanguageNegotiationUserAdmin requires 'access administration pages' which is too strict 2019-11-14 13:25:46 +00:00
Alex Pott f2469de972
Issue #3087546 by Berdir, alexpott, martin107, jibran: Remove deprecated entity manager 2019-11-14 10:49:28 +00:00
catch 19f9474b9b Issue #2742585 by ZeiP, alexpott, mondrake, klausi, tomasnagy, Krzysztof Domański, sokru, kristiaanvandeneynde, dawehner, jeroenbegyn: Deprecate dangerous assertTrue/False() compatibility overrides in PHPUnit Kernel, Functional and FunctionalJavascript tests 2019-11-08 13:53:52 +00:00
catch 32d95eccd7 Issue #3082655 by Wim Leers, alexpott, iyyappan.govind, dww, lauriii: Specify the $defaultTheme property in all functional tests 2019-11-08 13:39:33 +00:00
catch 2c08ab2b31 Issue #3084983 by plach, amateescu, catch, Berdir, xjm: Move all the code related to path aliases to a new (required) "path_alias" module 2019-11-07 19:47:09 +00:00
Alex Pott a90dae47a0
Issue #2917006 by tedbow, amateescu, Wim Leers, sam-elayyoub, Pascal-, jnimchuk, catch, alexpott, kruser, neclimdul, chris5156, Rick Hood: Views referencing missing roles fail views_post_update_revision_metadata_fields() 2019-11-07 10:20:44 +00:00
catch bc6aabc9cd Issue #3087692 by Wim Leers, alexpott: Remove the core key from views configuration 2019-10-22 20:40:16 +01:00
catch e37031e09a Issue #3072702 by alexpott, Wim Leers, mikelutz, xjm, catch, Berdir, tedbow, webchick, shaal, Mixologic, heddn: Core extensions should not need to specify the new core_version_requirement in *.info.yml files so that 9.0.x can be installed 2019-10-15 15:34:52 +01:00
Lee Rowlands dc7b06ca69
Issue #1681832 by mcdruid, k_zoltan, dougvann, ZenDoodles, Cyberschorsch, kim.pepper, mohit1604, drumm, pdenooijer, eshta, mihai_brb, phiit, grwgreg, larowlan, amateescu, David_Rothstein, klausi, Damien Tournoud, coltrane, sun, aiypz, alippai: Password reset form has no flood protection 2019-10-05 09:15:40 +10:00
Lee Rowlands 6f29f98030
Issue #3082287 by alexpott: \Drupal\user\Plugin\views\access\Role::access() does not conform to the base class documentation 2019-09-23 08:38:07 +10:00
catch 5448b07b67 Issue #3065545 by Wim Leers, lauriii, alexpott, xjm: Deprecate base theme fallback to Stable 2019-09-13 12:02:10 +01:00
catch 90a550d555 Issue #3080163 by Mile23, voleger, Lendude, mondrake: Decouple TestFileCreationTrait::getTestFiles() from simpletest module 2019-09-13 11:42:26 +01:00
Alex Pott afcdeee465
Issue #3076797 by Wim Leers, lauriii, alexpott: \Drupal\Core\Extension\Extension's absence of validation has allowed multiple incorrect tests to be added 2019-09-04 15:20:52 +01:00
Alex Pott 0a6a417ec9
Issue #3073318 by Spokje, Mile23, mondrake: Remove usages of \PHPUnit_Framework_MockObject_MockObject 2019-09-02 12:24:14 +01:00
Gábor Hojtsy 1be0372d40 Issue #3030937 by quietone, Gábor Hojtsy, heddn, mikelutz: Ensure language is not Null in translation source queries 2019-08-30 17:38:18 +02:00
catch ffe69958b0 Issue #2450793 by Berdir, Mile23, Wim Leers, mikelutz, xjm, TR: Properly deprecate support for entity type label callbacks 2019-07-31 08:52:27 +01:00
catch 64ee17e6d6 Issue #3068971 by christinlepson, joachim: error in param docs for UserCreationTrait::grantPermissions() 2019-07-29 09:26:07 +01:00
catch 5a27c272d5 Issue #3068089 by alexpott, mikelutz: Properly deprecate \Drupal\migrate\Plugin\MigrateIdMapInterface::lookupDestinationId() 2019-07-18 11:30:53 +01:00
catch c12498bd9e Issue #2776031 by fgm, andypost, voleger, yogeshmpawar, Berdir, joachim: Properly deprecate ThemeHandlerInterface install() and uninstall() also replace usage 2019-07-12 14:15:04 +01:00
Alex Pott e39262bf5b
Issue #2228741 by rpayanm, mikelutz, voleger, epari.siva, malotor, Rolf van de Krol, quietone, Mile23, andypost, ianthomas_uk, Lendude, alexpott, dawehner, xjm, Gábor Hojtsy, Berdir, catch: Replace calls to format_string() with Drupal\Component\Render\FormattableMarkup 2019-07-11 09:06:33 +01:00
Alex Pott e82e0c0573
Issue #3059090 by clepson, mondrake, alexpott: Deprecate \Drupal\Tests\PhpunitCompatibilityTrait::setExpectedException() 2019-06-11 12:38:53 +03:00
catch 61f97d319d Issue #3041837 by claudiu.cristea, naveenvalecha, Krzysztof Domański, Lendude: Convert UserDataTest into a kernel test 2019-06-03 19:58:54 +01:00
Alex Pott 23fad5b6a5
Issue #2926068 by almaudoh, andypost, voleger, claudiu.cristea, Oleksiy, YurkinPark, yo30, alexpott, dawehner, Berdir: Deprecate system_rebuild_module_data() and remove usages in core 2019-06-03 12:49:38 +01:00