Commit Graph

193 Commits (4b4895c0c58a3217110751c0b4b330e9477537bd)

Author SHA1 Message Date
xjm de32f3ca2d Issue #3133033 by munish.kumar, xjm, Hardik_Patel_12, daffie, swatichouhan012: Fix Drupal.Array.Array.LongLineDeclaration coding standard for instances of the drupalCreateUser() test method 2020-06-21 16:39:19 -05:00
xjm 94ca9bc3a0 Issue #2972224 by alexpott, longwave, jungle, sja112, xjm, dww, daffie, kiamlaluno, dawehner, quietone, Lendude: Add .cspell.json to automate spellchecking in Drupal core 2020-06-21 14:15:29 -05: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
Alex Pott 073679e731
Issue #3142752 by sja112, mondrake, xjm, longwave: AssertLegacyTrait::assert(No)Escaped() in functional tests still have a message passed in 2020-06-14 14:00:06 +01:00
Alex Pott 9d1faa52f4
Issue #2824935 by idebr, mfernea, Deepak Goyal, pfrenssen, longwave, hgunicamp, jofitz, andypost, daffie: Fix Squiz.ControlStructures.SwitchDeclaration coding standard 2020-06-02 09:46:52 +01:00
Alex Pott 40d62a67e7
Issue #3086794 by andypost, alexpott, jhodgdon, Amber Himes Matz, catch, xjm: Search results pages plugins could display results in administrative theme 2020-05-31 12:17:18 +01:00
xjm 88375258cd Issue #3139412 by Bunty Badgujar, longwave, mondrake, xjm: Replace usages of deprecated AssertLegacyTrait::assertTitle() 2020-05-29 16:55:45 -05:00
xjm e4e64fa0ee Issue #3143339 by mohrerao, mondrake, longwave: Clean up the arguments of calls to WebAssert::titleEquals() and AssertLegacyTrait::assertTitle() 2020-05-28 17:29:40 -05: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
catch 421c588c16 Issue #3131343 by mondrake, dww, jungle: Replace assertions involving calls to in_array() with assertContains()/assertNotContains() 2020-05-11 09:10:55 +01:00
xjm 84f3be3d90 Issue #3134333 by xjm, longwave, ravi.shankar, daffie: Change Drupal\Tests\search\Functional\SearchSimplifyTest and Drupal\Tests\search\Functional\SearchTokenizerTest to kerneltests 2020-05-09 15:00:59 -05:00
catch 40a5bd7e0a Issue #3126965 by jungle, quietone, longwave, mondrake, dww: Replace assert* involving count() and an integer literal with assertCount() 2020-05-07 19:07:00 +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
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
catch 5132c83fac Issue #3082415 by Krzysztof Domański, mondrake, alexpott, longwave, jungle: Replace assert(Not)Same/Identical() on booleans with assert(Not)True/False() in PHPUnit tests 2020-04-17 16:00:07 +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
catch 720924f719 Issue #2893804 by Wim Leers, Stefdewa, Berdir, catch: Remove rest.module BC layers 2020-01-27 17:41:43 +00:00
catch e1a041c493 Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88** 2020-01-24 23:52:03 +00:00
Lee Rowlands 2e53ac1699
Revert "Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**"
This reverts commit 136f055066.
2020-01-22 10:30:15 +10:00
Lee Rowlands 136f055066
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88** 2020-01-22 09:33:30 +10:00
catch 3408494d71 Issue #3097443 by andypost, longwave: Remove all @deprecated code in the Search module 2019-11-29 15:52:14 +00:00
Alex Pott 2a009c5edd
Issue #3048498 by jonathan1055, Lendude, naveenvalecha, klausi, alexpott, Gábor Hojtsy: [≈Nov. 11] Fix Drupal.Commenting.Deprecated coding standard 2019-11-14 09:08:15 +00: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
Lee Rowlands 7dc65c5c5d
Issue #3075695 by kim.pepper, andypost, jhodgdon, larowlan, pwolanin, Sam152: Move search_index() and related functions to a service 2019-10-11 15:03:59 +10:00
Alex Pott 0a6a417ec9
Issue #3073318 by Spokje, Mile23, mondrake: Remove usages of \PHPUnit_Framework_MockObject_MockObject 2019-09-02 12:24:14 +01:00
Lee Rowlands ce189a3f75
Issue #3067943 by andypost, jhodgdon, Amber Himes Matz, pwolanin: Add capability for search blocks on non-default search 2019-07-31 12:34:20 +10:00
Alex Pott ae248f2e43
Issue #3047801 by Eduardo Morales, mikelutz, pguillard, nlisgo, sathish.redcrackle, Berdir: Replace all calls to the deprecated Drupal::l() function in Core 2019-07-24 16:48:42 +01:00
Alex Pott e39262bf5b
Issue #2228741 by rpayanm, mikelutz, voleger, epari.siva, malotor, Rolf van de Krol, quietone, Mile23, andypost, ianthomas_uk, Lendude, alexpott, dawehner, xjm, Gábor Hojtsy, Berdir, catch: Replace calls to format_string() with Drupal\Component\Render\FormattableMarkup 2019-07-11 09:06:33 +01:00
Alex Pott 91fe1d2f77
Issue #2929133 by voleger, alexpott, Lendude: Replace all usages of getMock() 2019-05-31 10:22:21 +01:00
Alex Pott 408c540ccf
Issue #2886622 by Berdir, martin107, Mile23, tim.plunkett, mikelutz, jonathan1055: Deprecate all EntityManager methods with E_USER_DEPRECATED 2019-05-30 12:36:55 +01:00
Lee Rowlands 275c864dda
Issue #2875394 by voleger, erozqba, Berdir, mondrake: Replace all calls to db_query, which is deprecated 2019-05-28 07:15:20 +10:00
Lee Rowlands ba509afbc9
Issue #3047866 by mikelutz, Berdir, TR, alexpott, andypost, Satyanarayan Reddy: Remove usage of deprecated \Drupal::entityManager() in core 2019-05-24 16:44:36 +10:00
Alex Pott ffd99ca739
Issue #3055495 by Mile23, Lendude: Search page migration tests are misplaced kernel tests 2019-05-18 15:44:09 +02:00
catch 9791614b78 Issue #2731817 by mikelutz, ashishdalvi, Sonal.Sangale, dbt102, andypost, jhodgdon, martin107, roderik: Replace all calls to the deprecated Drupal::url() function in Core 2019-04-16 14:38:27 +09:00
Alex Pott 7dcda1f625
Issue #2977107 by Berdir, alexpott, jibran, larowlan: Use more specific entity.manager services in module .services.yml files 2019-01-11 14:13:39 +00:00
Nathaniel Catchpole 31f9ebf7f5 Issue #3008446 by alexpott, jcnventura, fenstrat, quietone, voleger, andypost: Complete the deprecation of format_date() 2019-01-01 19:15:24 +00:00
Alex Pott 60505f3693
Issue #3019834 by Berdir, alexpott: Add @trigger_error() to deprecated url/link EntityInterface methods 2018-12-23 14:30:20 +01:00
Alex Pott 701be77194
Issue #2869426 by Wim Leers, dawehner, tstoeckler, alexpott, Berdir, larowlan: EntityResource should add _entity_access requirement to REST routes 2018-12-18 16:10:14 +00:00
Alex Pott 566dce2038
Issue #2587063 by quietone, Jo Fitzgerald, heddn, jhodgdon, phenaproxima, alexpott, mikeryan, xjm: Variable to config: search_active_modules [d7] 2018-12-15 22:52:48 +00:00
Lee Rowlands b1d33121cc
Issue #3001309 by alexpott, Krzysztof Domański: Replace usages of UrlGeneratorTrait in non-api classes 2018-10-26 15:22:25 +10: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
Nathaniel Catchpole b48e1e7438 Issue #2873684 by voleger, longwave, jeetendrakumar, andypost, mondrake, catch: Replace all calls to db_select, which is deprecated 2018-09-21 14:01:49 +01:00
Alex Pott 383f701fe8
Issue #2853118 by voleger, Jo Fitzgerald, Pavan B S, yogeshmpawar, hgunicamp, pk188, andypost, jeetendrakumar, longwave, gaurav.kapoor, RenatoG, daffie, mondrake, dhruveshdtripathi, catch, alexpott, xjm: Replace all calls to db_insert, which is deprecated 2018-09-18 13:15:20 +01:00
Nathaniel Catchpole bb7c0570b8 Issue #2970831 by alexpott, martin107, catch, huascarmc, Mile23: Fix "AssertLegacyTrait::getRawContent() is scheduled for removal in Drupal 9.0.0. Use $this->getSession()->getPage()->getContent() instead. 2018-08-31 10:09:18 +09:00
Nathaniel Catchpole eadaeb9ac7 Issue #2848137 by gaurav.kapoor, voleger, hgunicamp, andypost, shashikant_chauhan, brahmjeet789, pk188, cilefen, daffie: Replace all calls to db_update, which is deprecated 2018-08-28 20:41:58 +09: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 24192468cc
Issue #2980107 by eliclaggett, vaplas, Lendude, borisson_, xjm: Replace Functional\SearchTestBase on BrowserTestBase? 2018-07-16 11:43:07 +01:00
Alex Pott 396936c456
Issue #2887411 by vaplas, naveenvalecha, larowlan, dawehner, Lendude, borisson_: Add $form_html_id to drupalPostForm in BrowserTestBase and convert SearchAdvancedSearchFormTest from WTB to BTB 2018-06-17 14:51:28 +01:00
Alex Pott ad90164619
Issue #2863842 by GoZ, Lendude, vaplas, dawehner, alexpott, borisson_, larowlan: Convert web tests to browser tests for search module 2018-06-14 17:09:11 +01:00
Nathaniel Catchpole c00b97b2a5 Issue #2928710 by borisson_, dawehner, idebr: Eliminate usages of \Drupal::root() in tests 2018-06-07 21:55:18 +01:00
Alex Pott 92be45b46f
Issue #2910883 by vaplas, ShawnB, Wim Leers: Move all entity type REST tests to the providing modules 2018-05-15 12:37:57 +01:00
Alex Pott b187a126de
Issue #2937888 by dhruveshdtripathi, idebr, RoSk0, mohit1604, mfernea, borisson_: Fix 'Drupal.Commenting.DocComment.LongNotCapital' coding standard 2018-05-11 10:46:46 +01:00
Alex Pott be6d515cad
Issue #2572613 by Malevi4, idebr, pfrenssen, Mile23, RajeevK: Fix 'Drupal.Array.Array.CommaLastItem' coding standard 2018-05-11 10:40:33 +01:00
Alex Pott b8f93d5b61
Issue #2901730 by mfernea, ankitjain28may, idebr: Fix 'Squiz.WhiteSpace.FunctionSpacing' coding standard 2018-05-11 10:26:36 +01:00
Nathaniel Catchpole 154f282899 Issue #2849669 by alexpott, pwolanin, Munavijayalakshmi, dawehner: Fix \Drupal\Component\Utility\Unicode() because of the Symfony mbstring polyfill 2018-05-08 21:55:21 +01:00
Nathaniel Catchpole 45bc05523f Issue #2958429 by alexpott: Properly deprecate SafeMarkup::format() 2018-05-01 16:14:09 +01:00
Alex Pott b84b827d42
Issue #2935256 by Jo Fitzgerald, voleger, kim.pepper, ibustos, Yogesh Pawar, catch, jibran: Remove all usages of drupal_get_message and drupal_set_message in modules 2018-05-01 10:15:07 +01:00
Lee Rowlands ba1e5705db
Issue #2959148 by alexpott: Enable PHPCS for info.yml files 2018-04-12 18:39:42 +10: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
Nathaniel Catchpole ee0f806896 Issue #2873696 by nvexler, wengerk, gido, Jo Fitzgerald, xjm: Add @internal to core classes, methods, properties to Form Classes 2017-10-12 16:15:53 +01:00
Nathaniel Catchpole 64fa6ad712 Issue #2901744 by mfernea: Fix 'PSR2.Namespaces' coding standard 2017-10-10 16:09:51 +01:00
xjm 44a5c4cbe0 Issue #2901739 by andriyun, Jo Fitzgerald, mfernea, xjm: Fix 'Squiz.Arrays.ArrayDeclaration' coding standard 2017-09-15 16:52:14 -05:00
Lauri Eskola 7f27bbaba1 Issue #2704871 by pepegarciag, Mile23, Manuel Garcia, ieguskiza, snehi, gaurav.pahuja, dimaro, rajeshwari10, gargsuchi, pashupathi nath gajawada, penyaskito, xjm, ZeiP, Wim Leers, alexpott: Replace usages of deprecated method drupal_render() 2017-07-03 18:35:13 +03:00
Nathaniel Catchpole 01f8bd64ed Issue #2854529 by alexpott, xjm, klausi, Chi, Mixologic: Fix Drupal.Scope.MethodScope - all methods should have scopes 2017-03-06 11:25:01 +00:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
Alex Pott 22c44dc6cd Revert "Issue #2587063 by quietone, Jo Fitzgerald, jhodgdon, phenaproxima, alexpott, mikeryan: Variable to config: search_active_modules [d7]"
This reverts commit 8deb904188.
2017-02-24 11:43:12 +00:00
Alex Pott 8deb904188 Issue #2587063 by quietone, Jo Fitzgerald, jhodgdon, phenaproxima, alexpott, mikeryan: Variable to config: search_active_modules [d7] 2017-02-24 10:31:32 +00:00
Nathaniel Catchpole 4c64f7b840 Issue #2770921 by dawehner, klausi, Mile23, mpdonadio, xjm, claudiu.cristea: Feb 21st: Convert chunk of WTB to BTB by just moving classes, changing use statements adding traits 2017-02-21 12:07:44 +00:00
xjm 664a20c1d0 Revert "Issue #2587063 by quietone, Jo Fitzgerald, jhodgdon, phenaproxima, alexpott, mikeryan: Variable to config: search_active_modules [d7]"
This reverts commit f054e6060b.
2017-02-11 19:44:48 -06:00
Alex Pott f054e6060b Issue #2587063 by quietone, Jo Fitzgerald, jhodgdon, phenaproxima, alexpott, mikeryan: Variable to config: search_active_modules [d7] 2017-02-12 00:15:19 +00:00
xjm e223ebe5f7 Revert "Issue #2704871 by pepegarciag, ieguskiza, snehi, gaurav.pahuja, rajeshwari10, dimaro, gargsuchi, pashupathi nath gajawada, penyaskito, Manuel Garcia, Mile23: Replace usages of deprecated method drupal render()"
This reverts commit ae3ee31751.
2016-12-12 13:03:21 -06:00
xjm ae3ee31751 Issue #2704871 by pepegarciag, ieguskiza, snehi, gaurav.pahuja, rajeshwari10, dimaro, gargsuchi, pashupathi nath gajawada, penyaskito, Manuel Garcia, Mile23: Replace usages of deprecated method drupal render() 2016-12-12 12:49:03 -06:00
Nathaniel Catchpole 235bfca5ae Issue #2795045 by legovaer, kmoll: Make SchemaCheckTestTrait available outside of the config module 2016-11-21 13:15:27 +00:00
Alex Pott 7125a80096 Issue #2755677 by Mile23: Fix 'Drupal.WhiteSpace.OpenTagNewline' coding standard 2016-09-19 11:39:40 +01:00
Alex Pott 133c212ed9 Issue #2719695 by alexpott, Mile23: Fix 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard 2016-05-08 10:05:38 -05:00
Alex Pott e0c2d965af Issue #2714585 by neclimdul: Avoid definition constants in SearchMatchTest 2016-05-05 11:13:37 +01:00
Alex Pott 0018b94fa1 Issue #2456477 by Berdir, dawehner, heddn, pguillard: Convert deprecated \Drupal\simpletest\KernelTestBase tests to KernelTestBaseNG 2016-04-26 14:57:14 +01:00
Alex Pott bfde6d3423 Issue #2665992 by alexpott, klausi, heykarthikwithu, xjm, tstoeckler: @file is not required for classes, interfaces and traits 2016-04-09 15:48:39 +01:00
Alex Pott 552268e2e1 Issue #2694243 by marthinal, jhodgdon: node_field_data and search_index tables should match on langcode 2016-04-05 11:47:37 +01:00
Alex Pott 4202cdd04b Issue #2684141 by benjy, dawehner: Convert migrate kernel tests to KernelTestBaseTNG 2016-03-21 09:31:08 +00:00
Jennifer Hodgdon d87ade36a4 Issue #2572643 by alexpott, attiks, Jelle_S, jhodgdon: Fix Drupal.Commenting.FileComment coding standard 2016-02-11 12:54:33 -08:00
Nathaniel Catchpole d8a3d5d4e4 Issue #2549791 by alexpott, Wim Leers: Remove SafeMarkup::xssFilter() and provide ability to define #markup escaping strategy and what tags to filter 2015-08-19 11:29:44 +01:00
Alex Pott d7ab90d9d3 Issue #2502009 by joelpittet, Cottser, Wim Leers: Remove SafeMarkup::set in SearchExtraTypeSearch::execute() 2015-07-14 08:12:54 +01:00
xjm f8b8f3bca5 Issue #2501819 by leslieg, edysmp, Cottser, joelpittet: Remove SafeMarkup::set in search_embedded_form_preprocess_search_result() 2015-06-11 20:17:24 -05:00
webchick 1144f47970 Issue #2504109 by EvanSchisler, cilefen: A bunch of old update test dump scripts are still hanging out 2015-06-11 00:23:39 -07:00
Alex Pott 3d2b2237a0 Issue #2485983 by willzyx: Rename the remaining {Form}::getFormID to {Form}::getFormId 2015-05-10 17:09:22 -07:00
Nathaniel Catchpole 8f5fa6aa10 Issue #2433599 by Wim Leers: Ensure every (non-views) pager automatically associates a matching cache context 2015-03-12 15:52:02 +00:00
webchick 0fb9bb5474 Issue #2364157 by mpdonadio, dawehner, martin107, Berdir, pcambra, naveenvalecha, tim.plunkett: Replace most existing _url calls with Url objects 2015-01-29 20:56:19 -08:00
Nathaniel Catchpole 73069e05e8 Issue #2392319 by alexpott, effulgentsia: Config objects (but not config entities) should by default be immutable 2015-01-16 10:43:35 +00:00
Alex Pott 22c82583c9 Issue #2246647 by mpdonadio, cilefen, YesCT, tim.plunkett: Rename PluginBag to LazyPluginCollection. 2014-10-17 22:06:53 +01:00
Alex Pott 002ae719c9 Issue #2343661 by larowlan, tim.plunkett | xjm: Rename l() to _l() and url() to _url(), and document replacements. 2014-09-30 10:10:00 +02:00
Dries ca85441da2 Issue #2260121 by sun: PHPUnit Tests namespace of modules is ambiguous with regular runtime namespace (+ Simpletest tests). 2014-09-05 12:40:22 -04:00
Alex Pott 0463b81a08 Issue #2322889 by sun: Fixed Various setUp() and tearDown() methods are not protected. 2014-08-18 16:50:50 +01:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00