Commit Graph

266 Commits (5d98794158a2bcd14f22f3d7542f10f348c8d75d)

Author SHA1 Message Date
catch 489c3286ce Issue #3400334 by mstrelan, quietone, smustgrave: Add declare(strict_types=1) to all test modules 2024-08-24 20:56:58 +09:00
catch cecb992b71 Issue #3458427 by mstrelan: Add array return typehints to protected test helper methods 2024-07-19 22:32:38 +09:00
catch a9f3d0ec7e Issue #3421418 by mstrelan, Spokje, xjm, mondrake, longwave, acbramley: Add void return typehints to all test methods 2024-06-19 13:45:54 +01:00
catch 06aeda306c Issue #3427999 by andypost, Ayesh, bbrala: [PHP 8.4] Fix implicitly nullable type declarations 2024-06-01 10:15:22 +01:00
catch f7ee9b8127 Issue #3101552 by Berdir, Primsi, Nikhil_110, smustgrave: Make FileItem translations synchronisable 2024-04-29 18:24:32 +01:00
xjm cfe99268a5
Issue #3057070 by joachim, Pancho, nicxvan: Refactor ImageFieldCreationTrait to support entity types other than nodes 2024-04-26 15:12:10 -05:00
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 9baa43976c
Issue #540008 by kristiaanvandeneynde, Spokje, daffie, clayfreeman, alexpott, eelkeblok, michaelfavia, ianthomas_uk, zaporylie, johnwebdev, abhisekmazumdar, anmolgoyal74, greggles, quietone, shaal, catch, rivimey, AaronMcHale, Berdir, ndf, xjm, finne, Wim Leers, esolitos, heddn, webchick, Bojhan, andypost, efpapado, benjifisher, lauriii, Gábor Hojtsy, moshe weitzman, harings_rob: Add a container parameter that can remove the special behavior of UID#1 2024-04-09 11:48:50 +01:00
catch a73a32ba4e Issue #3436680 by mondrake: Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10 - Step 2 ContentEntityBase 2024-03-29 14:15:03 +00:00
nod_ 6923b1a629
Issue #3416304 by sleitner, RoloDMonkey, smustgrave: Javascript warning from content language and translation page 2024-02-29 21:08:40 +01: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
catch e5e61dc566 Issue #3309104 by Bhanu951, acbramley, mondrake, ravi.shankar, smustgrave, daffie, alexpott, quietone, mstrelan: Replace REQUEST_TIME in Functional and FunctionalJavascript tests 2024-02-19 11:08:41 +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
quietone aafb4a444b
Issue #3418236 by mstrelan, smustgrave: Fix strict type errors: Convert remaining usages of FormattableMarkup to strings in core Functional tests 2024-02-14 15:40:16 +13: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 b31bcec20d Issue #3415769 by Spokje, smustgrave: Use random user IDs in tests only only when intended to 2024-01-25 10:24:37 +00:00
catch f0d3a7bf58 Issue #2254189 by smustgrave, quietone, anya_m, andregp, sun, joachim: Fix test performance of Drupal\node\Tests\NodeTranslationUITest 2024-01-10 21:12:27 +00: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
catch 30dbdff287 Issue #3405085 by quietone, smustgrave: Fix test performance of \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest 2024-01-08 17:34:49 +00:00
quietone 061989d481
Issue #3404273 by mstrelan, smustgrave: Fix strict type errors: Convert FormattableMarkup to strings (simple replacement) in core Functional tests 2024-01-08 15:42:05 +13:00
Lee Rowlands 5b8514adec
Issue #3402295 by mstrelan, dww, smustgrave: Fix strict type errors in kernel tests: Add casts and fix types where needed 2024-01-08 07:55:19 +10: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 5247e64236
Issue #3400018 by mstrelan, xjm: Add declare(strict_types=1) to all Functional JavaScript tests 2023-12-13 08:27:06 +10:00
catch b229d92cb1 Issue #3308928 by smustgrave, longwave, borisson_: Fix test performance of Drupal\Tests\content_translation\Functional\ContentTranslationMetadataFieldsTest 2023-12-04 16:14:14 +00:00
Dave Long 13cf026d79
Issue #3385811 by vbouchet: ContentTranslationUntranslatableFieldsTest should use API to set up language 2023-11-10 23:35:32 +00:00
Alex Pott 6118e0dc37
Issue #3389282 by quietone, smustgrave, alexpott: Fix spelling for words that are only misspelled in comments 2023-10-08 09:34:52 +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
catch e8f51017a4 Issue #3329066 by dabblela, quietone, joseph.olstad, smustgrave, catch, JnLuC21, Spokje: Creating a new translation may delete translations with drafts 2023-09-25 09:44:08 +01:00
catch a55e653e11 Issue #3355787 by joachim, smustgrave, Mile23: Identify which browser tests should be running the language settings form and add a @covers to document it 2023-09-01 07:10:55 +01: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
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
Lauri Eskola 29ae244571
Issue #3002571 by johnchque, Berdir, kishor_kolekar, ravi.shankar, Anandhi Karnan, StephaneQ, alexpott, smustgrave: Multiple warning messages when having untranslatable fields 2023-07-23 10:03:39 +03:00
Dave Long c61d707ed4
Issue #3108102 by lauriii, SpadXIII, akasake, myLies, _pratik_, Suresh Prabhu Parkala, penyaskito, longwave, smustgrave: Destination url query param affects on form translation delete submission 2023-07-19 17:15:37 +02:00
Lauri Eskola 64e10dfa1c
Issue #3365229 by narendraR, lauriii, bnjmnm, Chris Matthews, yoroy, ckrina, hooroomoo: Add separate 'Save' and 'Save and add fields' to Add Content, Comment, Media and Block Type Forms 2023-07-06 15:37:18 +03:00
hooroomoo 9d522de054 Issue #3356894 by hooroomoo, lauriii, srishtiiee, Rajeshreeputra, Utkarsh_33, bnjmnm, narendraR, tim.plunkett, smustgrave, ckrina, yoroy, amateescu, Wim Leers: Make field selection less overwhelming by introducing groups 2023-06-30 19:27:14 +00:00
catch b1dd9f7e2f Issue #3355122 by joachim, dww, D34dMan: ContentTranslationContextualLinksTest should use API calls to set up translation 2023-06-14 15:32:22 +01:00
Lauri Eskola 357b600ba5
Issue #3111550 by Primsi, Berdir, smustgrave: Test that new fields are translatable when re-using existing storage but not translatable when added from the UI 2023-05-08 10:03:18 +03:00
catch 4104aed9c1 Issue #3355604 by joachim, penyaskito, borisson_: ContentTranslationLanguageChangeTest should perform setup tasks using API calls not form submissions 2023-05-04 13:09:10 +01:00
Dave Long de09fc95c5
Issue #3322743 by Spokje, mondrake: Fix PHPStan L2 errors "Parameter $foo of method Foo::bar() has invalid type Foo\Baz." and "Method Foo::bar() has invalid return type Foo\Baz. " 2023-03-12 19:15:58 +00: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 fab2025f20 Issue #3001430 by alexpott, _utsavsharma, Oscaner, lauriii, smustgrave, ifux, deviantintegral, pameeela: Unable to uninstall base theme and subtheme via config sync at the same time 2023-01-30 10:56:47 +00:00
xjm 1d6b90e8bc
Issue #3219472 by quietone, Abhishek_Singh, karishmaamin, longwave, smustgrave, xjm: Fix spelling for words used once, beginning with 'e' -> 'i', inclusive 2023-01-09 22:21:00 -06:00
catch 8fb7236b1d Issue #3317758 by DieterHolvoet: The return type of TermInterface::getWeight is wrong 2022-11-07 13:02:48 +00:00
Alex Pott c900c8d35c
Issue #3265574 by mondrake: Convert remaining assertions involving use of xpath to WebAssert, where possible 2022-10-05 22:56:32 +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 b8ac0d9850
Issue #2941148 by quietone, bruno.bicudo, ravi.shankar, Sweetchuck, beatrizrodrigues, lucienchalom, VitaliyB98, WagnerMelo, sophiavs, ankitjain28may, daffie, longwave, Sutharsan, borisson_, cosmicdreams, heykarthikwithu, catch: Fix Drupal.Commenting.FunctionComment.MissingReturnType 2022-09-27 10:58:26 +01:00
catch da9a2b407a Issue #2994000 by Lendude, Pasqualle, quietone, pameeela: Notice in logs when setting invalid translation config for a content type 2022-07-10 13:20:37 +09:00
Alex Pott 22c29deda4
Issue #3272558 by danflanagan8: Content Translation tests should not rely on Classy 2022-05-15 20:21:43 +01:00