Commit Graph

409 Commits (c2063e23b25c09fb35bc785fe069245ced89cea5)

Author SHA1 Message Date
Alex Pott bdcf4705fa
Issue #3433086 by mondrake: Method addMethods() of class PHPUnit\Framework\MockObject\MockBuilder is deprecated in PHPUnit 10
(cherry picked from commit b73c68de45)
2024-03-26 17:04:55 +00:00
Alex Pott cf7fefab0e
Issue #3433091 by mondrake: Method getMockForTrait() of class PHPUnit\Framework\MockObject\MockBuilder is deprecated in PHPUnit 10
(cherry picked from commit e0644f929b)
2024-03-24 10:47:46 +00:00
Alex Pott 4d9ec8d74a
Issue #2867881 by catch, Wim Leers, smustgrave, dww: Remove @todo and workaround in Cookie ResourceTestTrait
(cherry picked from commit eed7ea3a50)
2024-02-22 08:39:42 +00:00
Lee Rowlands 64a66d9ad0
Issue #3419824 by catch: Mark some more tests with @group #slow
(cherry picked from commit bd2ee3cb3530e6e9e9c74c48e23c4217c8301c91)
2024-02-08 16:10:18 +00:00
Dave Long eb70d19029
Issue #3412959 by quietone, smustgrave, longwave: Fix 12 'un' words
(cherry picked from commit 2624df1b1c)
2024-02-02 11:49:15 +00:00
Dave Long f3e4294c5c
Issue #3409362 by quietone, smustgrave: Fix spelling of some words with 'un' prefix
(cherry picked from commit de952edf2d0f570d1117a92c025940fe56a62983)
2024-01-26 14:59:30 +00:00
Dave Long 0b625d5ad4
Issue #3397490 by quietone, smustgrave, xjm, longwave, poker10: Fix more words that are only misspelled in comments
(cherry picked from commit a3decd9d43)
2024-01-11 14:40:59 +00:00
Dave Long b612db8a77
Issue #3399373 by mstrelan, xjm, longwave, larowlan, quietone: Add declare(strict_types=1) to all Unit tests 2024-01-05 09:08:23 +00:00
Dave Long fce7fbec5c
Issue #3394084 by quietone, smustgrave, xjm: Fix non-English words in tests
(cherry picked from commit 67dbfb98ae)
2023-11-28 23:02:39 +00:00
Dave Long 04c5013c3c
Issue #3395404 by acbramley, larowlan, smustgrave, Berdir, jannakha, xjm: Information disclosure access bypass for revision log fields when the JSON:API module is enabled
(cherry picked from commit 184f22eef0)
2023-11-25 11:27:50 +00:00
xjm 574ba13308
Issue #3391788 by quietone, xjm: Fix spelling of function names in tests
(cherry picked from commit 3c1a449c37)
2023-11-10 11:10:48 -06:00
Dave Long e0a20caab0
Issue #3395871 by quietone: Correct spelling of words in test modules and dramallama
(cherry picked from commit 41b777c6be)
2023-10-24 12:18:00 +01:00
Dave Long 9164d2f354
Issue #3388204 by quietone, atul4drupal, xjm: Fix return type in \Drupal\Tests\rest\Functional\ResourceTestBase::recursiveKSort()
(cherry picked from commit 321492b8a8)
2023-10-13 11:46:17 +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
Lee Rowlands 0af9348ce7
Issue #3388365 by catch, larowlan, bbrala, smustgrave: Distribute @group #slow tests between test runners and mark more tests 2023-09-26 07:27:04 +10:00
quietone 66710e6008
Issue #3374874 by Spokje, smustgrave: Add 'HEAD'-method to \Drupal\Tests\rest\Unit\EventSubscriber\ResourceResponseSubscriberTest::providerTestResponseFormat 2023-08-25 11:48:57 +12: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 69333763c3
Issue #3224941 by andypost, Akram Khan, ravi.shankar, SandeepSingh199, Spokje, catch, xjm, alexpott: Remove usage of setAccessible() when core requires PHP 8.1 2023-07-18 16:45:43 +01:00
catch 349e4c5dcb Issue #3373836 by Spokje: Remove outdated @todo pointing to #2427811 in ResourceResponseSubscriberTest::providerTestSerialization 2023-07-14 11:57:03 +01:00
catch 339643bebb Issue #2551419 by kristiaanvandeneynde, catch, dawehner, Wim Leers, borisson_, bradjones1, tstoeckler, andypost: Abstract RenderCache into a separate service that is capable of cache redirects in a non-render array-specific way 2023-06-07 16:56:20 +01:00
catch a5b62885f5 Issue #3093973 by robindh, Diego_Mow, smustgrave, Grayle: Allow DELETE requests to return a response body 2023-05-04 11:28:18 +01:00
Dave Long 40ad0debd7
Issue #3123060 by Spokje, quietone, longwave, ankithashetty, daffie, jungle, xjm: Enable 'Drupal.Commenting.DocComment.ShortSingleLine' coding standard 2023-05-02 09:37:02 +01:00
Dave Long db5c7a1dc5
Issue #3268833 by quietone, xjm, jungle, ravi.shankar, smustgrave, daffie, Spokje, DanielVeza: Fix method comments in tests for Drupal.Commenting.DocComment.ShortSingleLine 2023-04-30 18:58:07 +01:00
Dave Long 7710bd6098
Issue #3268809 by quietone, Spokje, Rishabh Vishwakarma, ravi.shankar, mrinalini9, Medha Kumari, JatinGupta40, smustgrave, xjm, longwave, catch: Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine' 2023-04-12 15:50:34 +01:00
catch f88694094f Revert "Issue #3268809 by quietone, Rishabh Vishwakarma, ravi.shankar, Medha Kumari, mrinalini9, JatinGupta40, smustgrave, xjm, longwave: Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine'"
This reverts commit b4829d2ff7.
2023-04-05 11:25:49 +01:00
Dave Long b4829d2ff7
Issue #3268809 by quietone, Rishabh Vishwakarma, ravi.shankar, Medha Kumari, mrinalini9, JatinGupta40, smustgrave, xjm, longwave: Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine' 2023-04-05 09:56:11 +01:00
catch 6ca4984f03 Issue #3351079 by Spokje: Fix PHPStan L1 errors "You should use assertFoo() instead of assertSame(foo, $actual)." 2023-03-29 23:50:46 +01:00
quietone 837957e1f0
Issue #3266544 by Spokje, xjm, smustgrave, bbrala, catch: Remove remaining (textual) references to the HAL module 2023-03-28 15:27:52 +13:00
Dave Long c187cc6339
Issue #3153468 by mondrake, mohrerao, mallezie, smustgrave, meena.bisht, naresh_bavaskar, hash6, ravi.shankar, Hardik_Patel_12, longwave, xjm: Strip HTML tags when using assertEquals() to compare markup 2023-02-07 14:48:42 +00:00
catch 652709e400 Issue #3328443 by xjm, rpayanm, alexpott, catch, longwave: Replace most strpos() === 0 or !== 0 with str_starts_with() 2023-01-27 12:37:01 +00: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
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
Alex Pott b29f980b79
Issue #3112452 by lalitware, guilhermevp, narendra.rajwar27, WagnerMelo, ravi.shankar, mradcliffe, adalbertov, himanshu_sindhwani, quondam, Vidushi Mehta, alexpott, longwave, anmolgoyal74: Fix indentation consistency in core's yaml files 2022-10-09 12:06:21 +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 5b84c09246
Issue #3268829 by quietone, bbrala: Fix class property comments for Drupal.Commenting.DocComment.ShortSingleLine 2022-10-03 10:59:05 +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 f8b4d7a105
Issue #3082053 by vsujeetkumar, kristiaanvandeneynde, Wim Leers: EntityResourceTestBase needlessly tests the caching layer 2022-09-27 12:55:44 +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 6dd0db56c8
Issue #3281535 by mondrake, daffie: Fix 'Access to an undefined property' PHPStan L0 errors in test code 2022-06-14 11:27:54 +01:00
catch 81c78829db Issue #3284759 by longwave: Remove deprecated BcTimestampNormalizerUnixTestTrait 2022-06-13 08:53:36 +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
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
Gábor Hojtsy ac05f3d0d0 Issue #3264435 by catch, Spokje: Help topics and rest don't filter out deprecated modules when testing 2022-02-15 19:06:32 +01:00
Alex Pott 42630422b9
Issue #3261486 by catch, longwave, dww: Remove core updates added prior to 9.3.0 and adjust test coverage 2022-02-08 12:16:18 +00:00
catch 27158f7c9d Issue #3262190 by daffie, longwave: Add miscellaneous return type hints for Symfony 6 2022-02-03 17:41:13 +00:00
Alex Pott 6688d5c2f1
Issue #3260243 by neclimdul: EntityTestDateRangeTest fails testing 2022-01-25 01:33:30 +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 7f93a36802 Issue #3209723 by murilohp, daffie, longwave, andypost: [Symfony 6] Symfony\Component\HttpKernel\HttpKernelInterface::MASTER_REQUEST is deprecated, use ::MAIN_REQUEST instead 2022-01-24 14:31:35 +00:00
Alex Pott 7b324dd8f1
Issue #3197482 by longwave, Spokje, Taran2L, murilohp, catch, Gábor Hojtsy, daffie: Update Drupal 10 to depend on Symfony 5.4 (as a stepping stone to Symfony 6, for deprecation checking support) 2022-01-17 09:03:46 +00:00
catch cfd8517353 Issue #3182103 by TR, dan2k3k4, longwave, mondrake, Sweetchuck, Kristen Pol: Ensure correct signature for setUp(), tearDown(), setUpBeforeClass(), and assertPostConditions() methods 2021-12-14 12:05:17 +00:00