Commit Graph

33 Commits (cc8f202e80080bf34a4feb315501362d25e6df0f)

Author SHA1 Message Date
xjm b70dfff449
Issue #3401994 by mstrelan, dww, xjm, smustgrave, nicxvan: Add declare(strict_types=1) to all test traits 2023-12-09 08:40:55 -06:00
Lee Rowlands 6d93485084
Issue #3386458 by catch, quietone, alexpott, larowlan: Add GenericModuleTestBase and use it to test general module things 2023-09-26 09:14:17 +10:00
Dave Long 224c67343b
Issue #2921133 by quietone, VladimirAus, xjm, ankithashetty, longwave, Prem Suthar, smustgrave, benjifisher, AaronMcHale: Remove "Please" from the codebase 2023-07-23 17:33:54 +01:00
xjm 00bcd1740c
Issue #2574981 by Manjit.Singh, dimaro, wengerk, darol100, izus, pguillard, vsujeetkumar, Himanshu5050, snehi, paulocs, rakesh.gectcr, jofitz, _utsavsharma, charginghawk, rajeshwari10, sdstyles, quietone, benjifisher, marcusvsouza, LoMo, joelpittet, justAChris, cilefen, YesCT, mradcliffe, spitzialist, annajl, jhodgdon, catch, alexpott, Sabbi0612, kattekrab, Mile23, antojose, leanderl, rodrigoac: Fix grammar ("an URL" should be "a URL") and consistent use of URL (not "url" / "Url") in documentation only 2023-01-26 16:06:23 -06:00
Alex Pott 1a63aa6318
Issue #3326371 by Spokje: Fix PHPStan L1 error "Anonymous function has an unused use $foo." 2022-12-30 16:39:39 +00:00
Alex Pott ff2d2ea1d9
Issue #3210129 by quietone, murilohp, xjm: Fix spelling for words used once, beginning with 'a' -> 'd', inclusive 2022-01-01 13:52:01 +00:00
catch 7af1ea2e69 Issue #3139409 by mondrake, nitesh624, ridhimaabrol24, shobhit_juyal, mohrerao, Hardik_Patel_12, paulocs, ravi.shankar, munish.kumar, mrinalini9, alexpott: Replace usages of AssertLegacyTrait::assertRaw, that is deprecated 2021-08-09 21:40:23 +01:00
catch 604fee30da Revert "Issue #3139409 by mondrake, nitesh624, ridhimaabrol24, shobhit_juyal, mohrerao, Hardik_Patel_12, ravi.shankar, munish.kumar, mrinalini9, alexpott: Replace usages of AssertLegacyTrait::assertRaw, that is deprecated"
This reverts commit 71e8db1949.
2021-08-09 14:50:34 +01:00
catch 71e8db1949 Issue #3139409 by mondrake, nitesh624, ridhimaabrol24, shobhit_juyal, mohrerao, Hardik_Patel_12, ravi.shankar, munish.kumar, mrinalini9, alexpott: Replace usages of AssertLegacyTrait::assertRaw, that is deprecated 2021-08-09 11:21:51 +01:00
catch 068f00c4c9 Issue #3191935 by mondrake, tedbow, xjm, alexpott, longwave: Replace usages of AssertLegacyTrait::assertNoText, which is deprecated 2021-07-28 14:41:19 +01:00
Lee Rowlands cffb02aad6
Issue #2571235 by alexpott, claudiu.cristea, dawehner, Wim Leers, gabesullice, IJsbrandy, benjifisher, alisonjo315, larowlan, Berdir, effulgentsia, longwave, herom, dmouse, heddn, catch: [regression] Roles should depend on objects that are building the granted permissions 2021-07-09 14:50:54 +10:00
catch f3ad0680a3 Issue #3133162 by jungle, ravi.shankar, Deepak Goyal, Neslee Canil Pinto, anmolgoyal74, xjm, Kristen Pol: Replace the start verb Test with Tests in method comments of tests 2021-05-24 14:26:11 +01:00
Alex Pott 3872f1a8ed
Issue #3139404 by mondrake, munish.kumar, pavnish, longwave: [May 25, 2021] Replace usages of AssertLegacyTrait::assertText, that is deprecated 2021-05-20 22:10:07 +01:00
catch 9ac7689b1a Issue #3159788 by mondrake, ravi.shankar, narendra.rajwar27, longwave, Hardik_Patel_12, ankithashetty, sarvjeetsingh, kishor_kolekar: AssertLegacyTrait::assert(No)Text() in functional tests still have a message passed in 2021-01-11 10:24:10 +00:00
Alex Pott f60d2589b2
Issue #3178273 by longwave: BasicAuthTestTrait::basicAuthPostForm() does not work 2020-10-23 23:47:03 +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 421f994a8d Issue #3164589 by ankithashetty, paulocs, S_Bhandari, Suresh Prabhu Parkala, mondrake, longwave: Replace assertions that use $this->getSession()->getResponseHeader() with WebAssert methods 2020-08-14 09:52:24 +01: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
xjm 11387380d5 Issue #3139218 by mondrake, daffie: Replace usages of AssertLegacyTrait::assertResponse(), which is deprecated 2020-05-24 08:33:20 -05: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
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
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
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
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 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
Nathaniel Catchpole d8a6a68bbf Issue #2787871 by alexpott, yogeshmpawar, Insasse, Prashant.c, catch, hass: Properly deprecate getUserName() and use getAccountName() instead 2018-10-08 11:24:56 +01:00
xjm fa6b3d95dd Revert "Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase"
This reverts commit 69501f3062.
2018-08-16 18:12:22 -05:00
Nathaniel Catchpole 69501f3062 Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase 2018-08-15 19:55:23 +09:00
Nathaniel Catchpole 45bc05523f Issue #2958429 by alexpott: Properly deprecate SafeMarkup::format() 2018-05-01 16:14:09 +01:00
effulgentsia b83782a74b Issue #2920001 by Wim Leers, dawehner, borisson_, aheimlich, davidwbarratt: Add cacheable HTTP exceptions: Symfony HTTP exceptions + Drupal cacheability metadata 2017-11-08 19:31:27 -08:00
Alex Pott f1bfa50c32 Issue #2862494 by klausi, GoZ, Jo Fitzgerald: Convert web tests to browser tests for basic_auth module 2017-03-22 22:03:10 +00:00
Alex Pott 622deefbfd Issue #2817727 by Wim Leers: Add test coverage to prove controller is called *after* authentication validation 2017-01-17 11:51:24 +00:00