Commit Graph

201 Commits (51d40866c93a5728945c2ad1976c4efa71140856)

Author SHA1 Message Date
Alex Pott d404c50e5c
Issue #3441660 by longwave: [PHPUnit 10] Provide a static alternative to @dataproviders using PHPUnit mocks in MailHandlerTest
(cherry picked from commit 54da986560)
2024-04-21 10:12:21 +01:00
Lee Rowlands 55849506c4
Issue #3422872 by kunal.sachdev, Wim Leers: Add validation constraints to contact.settings
(cherry picked from commit c41bea2d63)
2024-04-12 07:52:05 +10:00
Alex Pott 442b47177d
Issue #3399388 by mstrelan: Add declare(strict_types=1) to all Kernel tests 2024-04-10 15:17:46 +01:00
Alex Pott e1a29d0851
Issue #124969 by Dave Reid, andregp, naxoc, pameeela, ravi.shankar, bruno.bicudo, _pratik_, jnlar, yogeshmpawar, marcingy, StevenPatz, amitgoyal, Johnny Santos, larowlan, smustgrave, Dries, DanielVeza, mstrelan, cburschka, quietone, alexpott, bradlis7: Contact form opt-out line should be excluded from admin-sent and sender-copy e-mails
(cherry picked from commit 1dbf2cc2ea)
2024-04-03 11:50:44 +01:00
Dave Long a23b6d6768
Issue #3399746 by mstrelan, acbramley: Add declare(strict_types=1) to all Functional tests
(cherry picked from commit e3fab52019)
2024-02-28 10:38:53 +00:00
Dave Long 654b1f2074
Issue #3353210 by mondrake, PrabuEla, Spokje: [PHPUnit 10] @dataProvider methods must be declared static and public 2024-02-14 13:38:28 +00:00
Lee Rowlands 89ec081a50
Issue #3382581 by phenaproxima, borisson_, larowlan, Wim Leers, quietone: Add new `EntityBundleExists` constraint 2024-01-31 17:52:37 +10:00
quietone 503192fcfe
Issue #3412464 by mstrelan, smustgrave: Fix strict type errors: Convert FormattableMarkup to strings (complex replacement) in core Functional tests 2024-01-30 12:42:46 +13:00
catch ed1c690070 Issue #3384936 by marvil07, vbouchet, smustgrave, xjm, joachim: Use the API to set up languages in tests that are not specifically testing the language form 2024-01-09 10:53:49 +00:00
Lee Rowlands 9add7f71ff
Issue #3399373 by mstrelan, xjm, longwave, quietone: Add declare(strict_types=1) to all Unit tests 2024-01-03 15:25:34 +10:00
Dave Long d9f34709f9
Issue #3337295 by Akhil Babu, zniki.ru, rksyravi, quietone, harshitthakore, Indrapatil, smustgrave, longwave, poker10: Remove remaining uses of t() in assertEquals() calls 2023-12-20 22:52:21 +00:00
Dave Long 8c01b91e20
Issue #3384935 by vbouchet: ContactLanguageTest should use API to set up language 2023-11-10 23:38:02 +00:00
xjm 9c025861d9
Issue #3381078 by mfb, smustgrave, xjm, quietone, andypost: Demote routine log events from "notice" to "info" 2023-11-10 09:17:08 -06:00
Dave Long 41b777c6be
Issue #3395871 by quietone: Correct spelling of words in test modules and dramallama 2023-10-24 12:12:43 +01: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
Lauri Eskola b175481f32
Issue #3376281 by Indrapatil, nlisgo, longwave, smustgrave: Random machine names no longer need to be wrapped in strtolower() 2023-08-01 21:32:45 +03:00
Lauri Eskola b7ee3dcfce
Issue #3377030 by Wim Leers, borisson_, smustgrave: Add validation constraint to `type: label`: disallow multiple lines 2023-08-01 18:34:53 +03:00
Dave Long 758cc0ecfa
Issue #3051548 by Rkumar, quietone, Balu Ertl, nitesh624, lauriii, pandaski, alexpott: Fix spelling of "email" 2023-07-24 16:58:20 +01:00
Lee Rowlands 6af88f6d6e
Issue #3007424 by acbramley, Spokje, mbovan, narendra.rajwar27, AaronBauman, ravi.shankar, aleevas, geek-merlin, jibran, YurkinPark, daffie, larowlan, Berdir, alexpott, marcelovani, catch, Lendude, mstrelan, tar_inet, Honza Pobořil, seanB, andrewbelcher, danflanagan8, susgo, sylus, sjpeters79, yogeshmpawar, raman.b: Multiple usages of FieldPluginBase::getEntity do not check for NULL, leading to WSOD 2023-04-27 07:58:01 +10:00
hooroomoo 4b8b470eee Issue #3346682 by hooroomoo, lauriii, tim.plunkett, bnjmnm, Utkarsh_33, ckrina, smustgrave: Improve re-use an existing field user experience 2023-04-21 20:01:39 +00:00
Lee Rowlands 40b09f3b48
Revert "Issue #3007424 by acbramley, Spokje, mbovan, narendra.rajwar27, AaronBauman, ravi.shankar, aleevas, geek-merlin, jibran, YurkinPark, daffie, larowlan, alexpott, marcelovani, catch, Berdir, Lendude, mstrelan, tar_inet, andrewbelcher, seanB, Honza Pobořil, danflanagan8, susgo, yogeshmpawar, sylus, sjpeters79, raman.b: Multiple usages of FieldPluginBase::getEntity do not check for NULL, leading to WSOD"
This reverts commit 7ea52649ec.
2023-04-05 08:21:03 +10:00
Lee Rowlands 7ea52649ec
Issue #3007424 by acbramley, Spokje, mbovan, narendra.rajwar27, AaronBauman, ravi.shankar, aleevas, geek-merlin, jibran, YurkinPark, daffie, larowlan, alexpott, marcelovani, catch, Berdir, Lendude, mstrelan, tar_inet, andrewbelcher, seanB, Honza Pobořil, danflanagan8, susgo, yogeshmpawar, sylus, sjpeters79, raman.b: Multiple usages of FieldPluginBase::getEntity do not check for NULL, leading to WSOD 2023-04-04 14:37:06 +10: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
catch c6babbb64e Issue #3324384 by Spokje, joachim, elber, znerol, longwave, mondrake: resolve differing createUser() test methods 2023-01-06 11:14:45 +00:00
bnjmnm adfa35d41f Issue #3324150 by phenaproxima, Wim Leers, Gábor Hojtsy: Add validation constraints to config_entity.dependencies 2022-12-02 13:01:44 -05:00
catch 88ca0c51a2 Issue #3309745 by andypost, Berdir, longwave, Wim Leers, Taran2L, mondrake, alexpott: Fix dynamic property deprecations and other unit test failures for PHP 8.2 2022-10-28 13:41:59 +01:00
Alex Pott fdaf5636e4
Issue #3295880 by Spokje, longwave: ->willReturn(...) would make more sense here 2022-10-03 15:41:01 +01:00
Alex Pott 2c468a0049
Issue #3264947 by Niklan, quietone, ravi.shankar, longwave, TR, xjm: [Sep 12, 2022] Add missing docblocks for test methods ::setUp() and ::tearDown() 2022-09-27 13:28:52 +01:00
Alex Pott 803da73c0b
Issue #2937515 by Spokje, quietone, idebr, longwave, SherFengChong, anweshasinha, borisson_, mfernea, xjm, bbrala, daffie, Berdir: Fix Drupal.Array.Array.[ArrayClosingIndentation, ArrayIndentation] coding standard 2022-09-27 11:11:12 +01:00
Alex Pott 386d79e2e0
Issue #3283794 by mondrake, longwave: Fix 'should return {type} but return statement is missing' PHPStan L0 errors in test code 2022-06-14 14:10:16 +01:00
Alex Pott 1922d82c4b
Issue #3260920 by tstoeckler: Contact's MessageEntityTest wrongly uses 'edit' access operation on entities instead of 'update' 2022-05-17 00:05:32 +01:00
Alex Pott 39b12c461c
Issue #3264122 by Spokje, Taran2L, ankithashetty, quietone, catch, xjm, daffie: Move all non migration aggregator tests to the module in preparation of removal in d10 2022-03-17 14:05:52 +00:00
Lauri Eskola 801e645ece
Issue #3268708 by danflanagan8, longwave: Contact tests should not rely on Classy 2022-03-11 11:41:47 +02:00
catch 0cec48668c Issue #3263654 by Spokje, bbrala, daffie, Kristen Pol, longwave: Move all HAL tests to the module in preparation of removal in D10 2022-02-20 14:43:28 +00:00
catch eacb05b19f Issue #3212346 by longwave, Spokje, alexpott: Avoid hundreds of unnecessary installs when testing config entities 2022-01-24 17:25:00 +00:00
catch 92836c436b Issue #3138078 by mondrake, larowlan, longwave, xjm: [D9.3 beta - w/c Nov 8, 2021] Add a 'void' return typehint to custom assert* methods 2021-11-22 15:25:32 +00:00
Lee Rowlands a83a7a7836
Issue #3231781 by longwave, mondrake, Feuerwagen, larowlan, TR, nlisgo, xxAlHixx, DuaelFr, GoZ, benjy, no_angel, Mac_Weber: [D9.3 beta - w/c Nov 8, 2021] Remove remaining uses of t() in tests 2021-11-15 12:46:09 +10:00
catch e40f6d17d6 Issue #2852557 by bircher, alexpott, longwave, nedjo, dww: Config export key order is not predictable, use config schema to order keys for maps 2021-10-25 10:54:41 +01:00
Alex Pott 57d91dbea0
Issue #3209934 by quietone, alexpott, longwave: Fix spelling for 46 migrate related words 2021-10-18 09:13:24 +01: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 0aed1298a1 Issue #3226008 by longwave, mondrake: Remove simple uses of t() in assertEquals() calls 2021-08-09 10:29:45 +01:00
catch e33e4c71c4 Issue #3227060 by mondrake, daffie: Replace usages of AssertLegacyTrait::assertNoRaw, that is deprecated 2021-08-06 11:12:32 +01:00
catch 89da8c8d52 Issue #3170396 by mondrake, longwave: Remove uses of t() in assert(No)Raw() calls 2021-08-06 08:21:30 +01:00
catch 6f48525b43 Issue #3220255 by mondrake, longwave: Convert assertions involving use of xpath on links to WebAssert 2021-08-06 07:52:55 +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
catch 686951d3c9 Issue #3153469 by longwave, hmendes, Hardik_Patel_12: Remove uses of t() in clickLink() calls 2021-07-28 08:48:45 +01:00
catch 3066423e43 Issue #3186661 by Spokje, longwave, mondrake, paulocs, daffie: [May 24, 2021] Remove usage of drupalPostForm 2021-05-24 14:27:52 +01: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