Commit Graph

71 Commits (74a6dce280a8fc4f1f7952b86841d115d7617eda)

Author SHA1 Message Date
Alex Pott ce1fa38bf0
Issue #3399388 by mstrelan: Add declare(strict_types=1) to all Kernel tests 2024-04-10 15:09:58 +01:00
Alex Pott 60d9d6778e
Issue #3421018 by mohit_aghera, smustgrave: Convert WorkflowType plugin discovery to attributes 2024-03-02 10:59:12 +00:00
Dave Long e3fab52019
Issue #3399746 by mstrelan, acbramley: Add declare(strict_types=1) to all Functional tests 2024-02-28 10:38:35 +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
catch 25b8b7c3cf Issue #3332593 by phenaproxima, Wim Leers, borisson_, lauriii, tim.plunkett: Adopt PluginExists validator in relevant places 2024-02-09 11:42:32 +00:00
Dave Long 526d8ef95e
Issue #3415811 by catch: Add @group #slow to more functional tests 2024-01-24 22:18:29 +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
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
Lauri Eskola 67360f2abd
Issue #3341682 by Wim Leers, phenaproxima, borisson_, catch, alexpott: New config schema data type: required_label 2023-08-17 12:29:30 +03:00
catch 6204ba9c59 Issue #2665216 by andypost, gidarai, daffie, mondrake, _utsavsharma, dawehner, catch, longwave, alexpott, Charlie ChX Negyesi: Deprecate Drupal\Core\Database\Connection::nextId() and the {sequences} table and schema 2023-06-08 12:59:56 +01:00
catch 6ef863a2a3 Issue #3354382 by mondrake: [PHPUnit 10] Provide a static viable alternative to $this->prophesize() in data providers 2023-06-07 09:37:15 +01:00
quietone b91529c922
Issue #3052430 by tedbow, rpayanm, xjm, jasonawant, smustgrave, tim.plunkett: Remove calls to installEntitySchema for config entity types in Kernel tests 2023-02-22 14:48:45 +13:00
Dave Long 4df43e48a7
Issue #3335145 by catch, Berdir: Unnecessary workflow plugin manager cache tag 2023-01-20 14:54:00 +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 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
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
Lee Rowlands fa1e2888c3
Issue #3240800 by alexpott: Creating an configuration entity via new ConfigEntityClass() triggers deprecations in PHP 8.1, use ConfigEntityClass::create() instead 2021-10-06 09:12:22 +10:00
catch 9da1866da4 Issue #3232673 by alexpott, longwave, Berdir, andypost: \Drupal\Core\Entity\EntityInterface::label() can return a NULL 2021-09-30 12:15:17 +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
catch 47355e3ba7 Issue #3135027 by mondrake, Spokje, ayushmishra206, rajandro, nitesh624: Replace usages of assertArrayEquals, deprecate it 2020-09-30 10:32:01 +01:00
Alex Pott 8e736dcb60
Issue #3160020 by jungle, ravi.shankar, alexpott, ultrabob: Fix typos "iids, twoa, twob, roota, rootb, parentc" by refactoring 2020-07-23 10:09:17 +01:00
Alex Pott 1dfbbd88b7
Issue #3159531 by jameszhang023, ipumpkin, jungle, longwave: Fix typos: "attibute|uneccesarilly|colletion|constucts|worklow" in core 2020-07-17 08:25:33 +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
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
Alex Pott 49b03d9954
Issue #3099971 by huzooka: Hard-coded uri string in WorkflowListBuilder breaks if Drupal is installed in (webroot) subfolder 2020-01-10 16:23:53 +00:00
catch 66ad65a141 Issue #3093217 by amateescu, Wim Leers: Remove workflows.module BC layers 2019-11-26 14:01:44 +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
Alex Pott e82e0c0573
Issue #3059090 by clepson, mondrake, alexpott: Deprecate \Drupal\Tests\PhpunitCompatibilityTrait::setExpectedException() 2019-06-11 12:38:53 +03:00
Alex Pott d5c68647b7
Issue #3020538 by catch: Route::__construct() no longer accepts NULL as first parameter [Symfony 4] 2018-12-14 22:19:02 +00:00
Alex Pott 8c6c340fe6
Issue #2886547 by naveenvalecha, Mile23, longwave, impalash, Lendude, dawehner, Mixologic, xjm, borisson_, catch: Add trigger_error to deprecated TestBase base classes/traits that have none, reference CR 2018-10-01 15:40:09 +01:00
Lee Rowlands 5b224a44a9
Issue #2896726 by Sam152, timmillwood, Wim Leers, amateescu, jibran, larowlan: Expand the entity access model for workflow states and transitions 2018-09-12 09:53:48 +10: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
Alex Pott b8f93d5b61
Issue #2901730 by mfernea, ankitjain28may, idebr: Fix 'Squiz.WhiteSpace.FunctionSpacing' coding standard 2018-05-11 10:26:36 +01:00
Alex Pott 5a6f295406
Issue #2899248 by Sam152: Don't reimplement validation rules for workflow state add/edit forms in ::copyFormValuesToEntity 2018-05-03 23:12:56 +01:00
Alex Pott 6a74240ce3
Issue #2939634 by kevin.dutra, runeasgar, Sam152, alexpott: Unable to order transitions if there are more than 20 2018-04-30 13:23:01 +01:00
Nathaniel Catchpole d90ac78f3e Issue #2798891 by ankitjain28may, trobey, TR: Define project dependencies in core module .info files 2018-04-06 13:13:01 +01:00
Alex Pott 27c80649f1
Issue #2942588 by mohit1604, chr.fritsch, tstoeckler, bojanz, joshi.rohit100, hchonov: EntityListBuilder::render() should use the entity type plural label in the empty text 2018-03-20 23:00:39 +00:00
Lee Rowlands c53b64f6bc
Issue #2800873 by Wim Leers, lhangea, damiankloip, Yogesh Pawar, dawehner, alexpott: Add XML GET REST test coverage, work around XML encoder quirks 2017-11-24 18:36:35 +10:00
Lee Rowlands 7dbf76d75a
Issue #2897134 by MaskOta, Sam152, Dinesh18, xjm: Enforce that weights are numeric when settings state/transition weights 2017-11-18 09:46:55 +13:00
Nathaniel Catchpole f659d6ca8e Issue #2901726 by mfernea, gmario, finn.lewis, robertoperuzzo, rachel_norfolk: Fix 'Squiz.Functions.MultiLineFunctionDeclaration' coding standard 2017-10-10 15:43:06 +01:00
Nathaniel Catchpole 76fd2bdbde Issue #2886567 by timmillwood, Sam152, Manuel Garcia, Vj, xjm, tstoeckler: Adding a workflow state or transition with an integer ID results in unrecoverable fatal errors 2017-09-18 12:08:42 +01:00
xjm aa7c4ab09d Issue #2900047 by karthikkumarbodu, Sam152: Add a link to install content_moderation when no workflow types are present 2017-09-17 05:11:20 -05:00
Nathaniel Catchpole 62974195b9 Issue #2897133 by Sam152, larowlan: Address performance issues in \Drupal\workflows\Plugin\WorkflowTypeBase::deleteState 2017-08-25 17:50:16 +09:00
Lee Rowlands 3bbf3142c2
Issue #2900911 by scott_euser, Sam152, Lendude: \Drupal\workflows\Form\WorkflowTransitionAddForm::form sets a default value for radios as an empty array 2017-08-22 18:29:32 +10:00