Commit Graph

1571 Commits (2f7924b3abdfe99f11515349c5a2899b27549b4f)

Author SHA1 Message Date
xjm fea00575f0 Revert "Issue #2793443 by dawehner: Make private functions protected in BrowserTestBase/KernelTestBase"
This reverts commit bde190669e.
2016-09-09 16:22:14 -05:00
xjm 24d528d802 Issue #2758559 by eporama, leolando.tan, kamalrajsahu21, tstoeckler, larowlan, claudiu.cristea: EntityType::setStorageClass() violates its interface 2016-09-02 15:38:42 -05:00
xjm 9d3d930151 Issue #2785355 by timmillwood, dawehner, claudiu.cristea, borisson_: Expose the class resolver on \Drupal 2016-09-02 15:25:16 -05:00
xjm bde190669e Issue #2793443 by dawehner: Make private functions protected in BrowserTestBase/KernelTestBase 2016-09-02 14:56:53 -05:00
Alex Pott cf37e9033c Issue #2760905 by anavarre, claudiu.cristea, amitaibu, dawehner: The documentation should be more explicit about PHPUnit requesting the webserver user to perform all functional tests 2016-09-02 17:07:07 +01:00
Nathaniel Catchpole 9c63871934 Issue #1267508 by fietserwin, daffie, lisa.ugray, chx, alexpott, Berdir, dawehner, Crell: Subselects don't work in DBTNG conditions, except when used as value for IN 2016-09-01 14:01:59 +01:00
Alex Pott f25150623a Issue #2792831 by mkalkbrenner: YamlSymfonyTest must not require PHP yaml extension 2016-08-31 09:20:37 -05:00
Alex Pott a7b67e7af1 Issue #2721901 by Mile23, anoopjohn: Fix Drupal.Commenting.FunctionComment.MissingParamName 2016-08-29 06:50:59 -05:00
Nathaniel Catchpole f6ae58526c Issue #2572801 by alexpott, vprocessor, andriyun, andypost, chishah92, Mile23, attiks, hussainweb, klausi, dawehner, pfrenssen: Fix 'Drupal.WhiteSpace.ScopeIndent' coding standard 2016-08-28 18:16:36 +01:00
Alex Pott ee38d6f72a Issue #2771547 by Lendude, klausi, dawehner, alexpott, pwolanin: In Browser and FunctionalJavascript tests SIMPLETEST_USER_AGENT cookie needs to be set every 5 seconds 2016-08-26 12:37:15 -05:00
Alex Pott 4282851183 Issue #2784677 by GoZ: Move core/modules/simpletest/tests/src/Functional/BrowserTestBaseTest.php to core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php 2016-08-23 19:12:33 +01:00
Nathaniel Catchpole 3c42666bfc Issue #2787577 by alexpott, dawehner: When tests use multiple namespaces they should do so in a coding standards compliant way 2016-08-22 17:10:39 +01:00
Nathaniel Catchpole 37010da991 Issue #2787655: Fix \Drupal\Tests\Core\Form\FormTestBase to not have multiple namespaces 2016-08-22 17:01:56 +01:00
Nathaniel Catchpole 50ab536e79 Issue #2728403 by timmillwood: Non-revisionable translatable fields on revisionable entities don't translate correctly 2016-08-22 16:32:22 +01:00
Nathaniel Catchpole 31dcacad1b Issue #2740983 by VitalyM, alexpott: Configuration system doesn't allow importing a single item from a non-default collection 2016-08-19 14:27:11 +01:00
Nathaniel Catchpole 5730984d40 Issue #2779459: KernelTestBase thinks private file setting is in config 2016-08-18 21:24:36 +01:00
Alex Pott 73333c5b46 Issue #2070559 by Mile23: Harmonize PHPUnit and run-tests to both scan for themes 2016-08-18 15:00:25 +01:00
Alex Pott bd2772d916 Issue #2783819 by Lendude: Update AjaxThemeTest to use assertWaitOnAjaxRequest 2016-08-18 12:44:47 +01:00
Alex Pott 08b7a3fbc8 Issue #2783393 by Mile23: Fix 'Drupal.Commenting.FunctionComment.IncorrectParamVarName' coding standard 2016-08-18 10:38:31 +01:00
Alex Pott da0645c1f8 Issue #2785913 by tim.plunkett: StableTemplateOverrideTest does not respect experimental modules 2016-08-18 09:06:48 +01:00
Alex Pott 1bd3a04d6c Issue #2780549 by andrewbelcher, alexpott, mpdonadio: FormattedDateDiff::$maxAge never applied to caches 2016-08-15 18:20:00 +01:00
Alex Pott af1abd851c Issue #2780905 by catch, joelpittet: cache MemoryBackend has a pointless constructor 2016-08-15 11:17:11 +01:00
Nathaniel Catchpole dd3ee4c7df Issue #2635784 by Manuel Garcia, sidharthap, cilefen, veerasekar89, gambry, catch, alexpott, Cottser, dawehner, joelpittet: Deprecate ThemeHandler::setDefault() in favour of configuration and replace usages 2016-08-15 08:55:33 +01:00
Alex Pott 0c0481ef86 Revert "Issue #2780549 by andrewbelcher, alexpott, mpdonadio: FormattedDateDiff::$maxAge never applied to caches"
This reverts commit abe69518ab.
2016-08-12 20:43:12 +01:00
Alex Pott abe69518ab Issue #2780549 by andrewbelcher, alexpott, mpdonadio: FormattedDateDiff::$maxAge never applied to caches 2016-08-12 14:40:34 +01:00
Nathaniel Catchpole a0096f1c08 Revert "Issue #1267508 by fietserwin, lisa.ugray, daffie, chx, Crell: Subselects don't work in DBTNG conditions, except when used as value for IN"
This reverts commit 22a241ca04.
2016-08-12 13:00:14 +01:00
Nathaniel Catchpole 246304717f Issue #2778673 by neclimdul: UnitTestCase::getStringTranslationStub() incorrectly documents its return type 2016-08-12 12:29:10 +01:00
Alex Pott 8824b86716 Issue #2759863 by klausi: Implement request header support for drupalGet() on BrowserTestBase 2016-08-11 14:28:52 +01:00
Nathaniel Catchpole bc00f081e6 Issue #2725533 by timmillwood, alexpott, amateescu, webchick, dixon_, larowlan, dawehner, catch, Crell, Bojhan, jibran, Wim Leers, agentrickard, Berdir: Add experimental content_moderation module 2016-08-08 13:26:31 +01:00
Alex Pott fdb71536e1 Issue #2773389 by martin107, claudiu.cristea, klausi: BrowserTestBase::getTextContent() wrongly returns the raw content 2016-08-08 10:05:17 +01:00
Nathaniel Catchpole 937b9f228d Issue #2553733 by alexpott, dawehner, Wim Leers, jibran: BrowserTestBase should be adding the config schema checker like WebTestBase 2016-08-05 15:58:10 +01:00
Nathaniel Catchpole ad76a96a40 Issue #2723607 by valthebald, deepakaryan1988: Remove entity_load* usage for dynamic entity types 2016-08-05 09:29:20 +01:00
Alex Pott bc834169f0 Issue #1869548 by dawehner, jeqq, dmouse, slasher13, damiankloip, alexpott, nod_, AlxVallejo, chr.fritsch, yanniboi, effulgentsia, dixon_, -enzo-, Wim Leers, Crell, andypost, catch, Damien Tournoud, kim.pepper, linclark: Opt-in CORS support 2016-08-02 11:56:38 +01:00
Nathaniel Catchpole a0a530fd4f Issue #1920902 by neclimdul, larowlan, alexpott, chx, sun, jthorson, damiankloip, Berdir, Mixologic, YesCT, hussainweb, rcaracaus, cweagans, catch, jibran, msonnabaum, dawehner, webchick, anavarre, heyrocker: Add a Drupal Yaml wrapper so we can default to PECL Yaml component if it is available 2016-08-01 18:52:00 +01:00
Nathaniel Catchpole 03fc20425b Issue #2537732 by Xano, tim.plunkett, gnuget, claudiu.cristea, drunken monkey, bojanz: PluginFormInterface must have access to the complete $form_state (introduce SubFormState for embedded forms) 2016-08-01 18:48:16 +01:00
Alex Pott 9bc59ded3e Issue #2776055 by claudiu.cristea: Entity form/view route errors when a non-entity parameter comes first 2016-08-01 14:10:03 +01:00
Alex Pott e868cdcb5c Revert "Issue #1869548 by dawehner, jeqq, dmouse, damiankloip, nod_, AlxVallejo, chr.fritsch, yanniboi, effulgentsia, dixon_, -enzo-, Wim Leers, Crell, Damien Tournoud, andypost, kim.pepper, linclark, catch: Opt-in CORS support"
This reverts commit f2b7115211.
2016-08-01 00:34:44 +01:00
Nathaniel Catchpole b2b8aeaa61 Issue #2750167 by dawehner, alexpott, willwh: Config translation synchronization fails 2016-07-31 21:01:09 +01:00
Alex Pott 417d900623 Issue #88183 by Wim Leers, ahoeben, brianV, alexpott, kylebrowning, marvil07, chx, twistor, dawehner: Relative URLs in feeds should be converted to absolute ones 2016-07-30 16:07:44 +01:00
Alex Pott 22a241ca04 Issue #1267508 by fietserwin, lisa.ugray, daffie, chx, Crell: Subselects don't work in DBTNG conditions, except when used as value for IN 2016-07-30 10:21:46 +01:00
Alex Pott 3de79990b3 Issue #2681911 by garphy, Wim Leers, gabesullice: REST requests without X-CSRF-Token header: unhelpful response significantly hinders DX, should receive a 401 response 2016-07-29 16:11:36 +01:00
Alex Pott e0af75558c Issue #2755525 by hchonov: Invoke field methods first on the current entity translation 2016-07-29 15:20:09 +01:00
Alex Pott 28356f4e9f Issue #2506805 by jibran, tstoeckler, chx: Non-revisionable base fields with multiple columns break revisionable entity types 2016-07-29 15:08:25 +01:00
Alex Pott a1bc0a4769 Issue #2737781 by juampynr, cilefen, dawehner: Provide helpful message when attempting to run Javascript based test and PhantomJS is not running 2016-07-29 13:12:46 +01:00
Alex Pott 21a4b87099 Revert "Issue #2278383 by Xano, dawehner, kim.pepper, twistor, joelpittet, Fabianx, Crell, jibran, alexpott, Wim Leers: Create an injectible service for drupal_set_message()"
This reverts commit ee22272534.
2016-07-29 00:49:26 +01:00
Alex Pott af80cb499a Issue #2659070 by Wim Leers, dawehner, tic2000, Crell: REST requests without Content-Type header: unhelpful response significantly hinders DX, should receive a 415 response 2016-07-29 00:32:38 +01:00
Alex Pott 9b07bc544c Issue #2694555 by amateescu, vasi, dawehner, heddn, therealssj: Node revisions don't display translated 2016-07-29 00:11:18 +01:00
Alex Pott ee22272534 Issue #2278383 by Xano, dawehner, kim.pepper, twistor, joelpittet, Fabianx, Crell, jibran, alexpott, Wim Leers: Create an injectible service for drupal_set_message() 2016-07-28 18:55:59 +01:00
Alex Pott 1e770ce9f1 Revert "Issue #2403307 by dawehner, marthinal, tedbow, clemens.tolboom, Wim Leers, neclimdul, Crell, klausi, andypost, e0ipso: RPC endpoints for user authentication: log in, check login status, log out"
This reverts commit 18feefc302.
2016-07-28 18:53:42 +01:00
Alex Pott 442fea7c65 Issue #2771331 by johan.gant: drupal/core-uuid composer.json not tested by \Drupal\Tests\ComposerIntegrationTest::testComposerJson() 2016-07-28 17:19:53 +01:00
Alex Pott 18feefc302 Issue #2403307 by dawehner, marthinal, tedbow, clemens.tolboom, Wim Leers, neclimdul, Crell, klausi, andypost, e0ipso: RPC endpoints for user authentication: log in, check login status, log out 2016-07-28 17:15:12 +01:00
Nathaniel Catchpole d2ab9b8433 Issue #2772979 by hchonov: Enforcing a cloned entity translation to be new propagates to the original entity 2016-07-28 13:47:58 +01:00
xjm e31ca782a7 Issue #2763157 by tim.plunkett, tedbow, chx, bojanz, twistor, neclimdul, dawehner, Xano, EclipseGc: Allow plugins to provide multiple forms 2016-07-27 20:20:19 -05:00
xjm db8849dd68 Revert "Issue #2773197 by jalpesh, tstoeckler: DefaultHtmlRouteProviderTest::testGetCollectionRoute() has wrong @covers"
This reverts commit a470bc0cbd.
2016-07-27 20:18:52 -05:00
webchick a470bc0cbd Issue #2773197 by jalpesh, tstoeckler: DefaultHtmlRouteProviderTest::testGetCollectionRoute() has wrong @covers 2016-07-27 18:09:05 -07:00
xjm c4cb804daf Issue #2702661 by alexpott, nevergone, GoZ, jibran, dawehner, xjm, hgoto, droplet: Make it simple to take screenshots whilst using JavascriptTestBase 2016-07-27 16:47:58 -05:00
Nathaniel Catchpole f2b7115211 Issue #1869548 by dawehner, jeqq, dmouse, damiankloip, nod_, AlxVallejo, chr.fritsch, yanniboi, effulgentsia, dixon_, -enzo-, Wim Leers, Crell, Damien Tournoud, andypost, kim.pepper, linclark, catch: Opt-in CORS support 2016-07-27 22:09:22 +01:00
webchick 8211126b30 Issue #2773197 by jalpesh, tstoeckler: DefaultHtmlRouteProviderTest::testGetCollectionRoute() has wrong @covers 2016-07-27 03:18:39 -07:00
xjm a1d45d3c8c Issue #2759853 by klausi, dawehner: Create ConfigTestTrait to share code between PHPUnit and Simpletest 2016-07-26 20:42:44 -05:00
xjm df1fe18178 Issue #2759879 by klausi, claudiu.cristea, dawehner, xjm, Lendude, jibran: Additional assertions for WebAssert and AssertLegacyTrait, part 2 2016-07-26 15:12:25 -05:00
Nathaniel Catchpole 3f56402e79 Issue #2767853 by tstoeckler: Provide a route for collections of entities 2016-07-25 13:43:54 +01:00
Alex Pott 32fa9448c4 Issue #2223073 by stefan.r, superspring, daffie, Dave Reid, Jalandhar: Calling DatabaseSchema::getPrefixInfo() on a non-default connection returns the wrong database - write tests 2016-07-25 11:37:39 +01:00
Alex Pott 6d3fd71023 Issue #1145076 by daffie, David_Rothstein, johnnydarkko, cbergmann, drewish, rpayanm, somersoft, jhedstrom: UNION queries don't support ORDER BY clauses 2016-07-25 10:22:14 +01:00
Alex Pott 7c0a466ba6 Issue #2754783 by danmuzyka, jhedstrom, alexpott: hook_entity_display_build_alter() only affects final entity in $build_list array 2016-07-25 10:16:37 +01:00
Nathaniel Catchpole 5c8dd621c7 Revert "Issue #2759879 by klausi, claudiu.cristea, dawehner, Lendude, jibran: Additional assertions for WebAssert and AssertLegacyTrait, part 2"
This reverts commit 4bc34053d9.
2016-07-21 13:06:59 +01:00
Nathaniel Catchpole 4bc34053d9 Issue #2759879 by klausi, claudiu.cristea, dawehner, Lendude, jibran: Additional assertions for WebAssert and AssertLegacyTrait, part 2 2016-07-21 12:51:38 +01:00
Alex Pott 3bda71d1a9 Issue #2770339 by claudiu.cristea: LocalReadOnlyStream must declare itself LOCAL 2016-07-21 11:48:14 +01:00
Nathaniel Catchpole 68a543a315 Issue #2329453 by alexpott, joelpittet, hussainweb, kaidjohnson, andriyun, JohnAlbin, mirie, steveoliver, quicksketch, geerlingguy, RobLoach, jenlampton, SebCorbin, pablo.guerino, afoster, markcarver, danbohea, andypost, catch, donquixote, marcvangend, David_Rothstein, LewisNyman, neclimdul: Ignore front end vendor folders to improve directory search performance 2016-07-20 22:06:16 +01:00
xjm 066437b85d Issue #2633160 by nicholasThompson, tim.plunkett: Do not fail for missing context if a condition is negated 2016-07-20 13:31:09 -05:00
xjm 7bce285820 Revert "Issue #2702661 by alexpott, nevergone, GoZ, jibran, dawehner, hgoto, xjm: Make it simple to take screenshots whilst using JavascriptTestBase"
This reverts commit e42f6c5826.
2016-07-20 11:12:09 -05:00
xjm e42f6c5826 Issue #2702661 by alexpott, nevergone, GoZ, jibran, dawehner, hgoto, xjm: Make it simple to take screenshots whilst using JavascriptTestBase 2016-07-20 10:48:14 -05:00
Alex Pott b9fc15d622 Issue #1806606 by daffie, Jorrit: Drupal\Core\Database\Query\Select::range() doesn't correctly implement SelectInterface 2016-07-20 13:13:28 +01:00
Alex Pott 67b76a049c Revert "Issue #2223073 by stefan.r, superspring, Dave Reid, Jalandhar: Calling DatabaseSchema::getPrefixInfo() on a non-default connection returns the wrong database - write tests"
This reverts commit 2c2caccd45.
2016-07-20 09:58:06 +01:00
Alex Pott 5601e988ae Issue #2686483 by stBorchert, daffie: Add support for database condition operator "NOT BETWEEN" 2016-07-20 09:52:02 +01:00
Alex Pott 2c2caccd45 Issue #2223073 by stefan.r, superspring, Dave Reid, Jalandhar: Calling DatabaseSchema::getPrefixInfo() on a non-default connection returns the wrong database - write tests 2016-07-19 23:53:41 +01:00
Alex Pott 7b0d229af1 Issue #2767269 by claudiu.cristea: LocalReadOnlyStream must declare itself not writeable 2016-07-19 23:42:23 +01:00
Alex Pott b5b6b8fc84 Issue #2756175 by Fabianx: FileCacheFactory::get() should not use 'default' configuration key before passed in configuration 2016-07-19 17:09:04 +01:00
Alex Pott 4e547f5246 Issue #2760797 by mondrake, twistor: MIME type guessing fails for remote stream wrapper URIs 2016-07-19 16:14:55 +01:00
Alex Pott 4dd3e6a506 Issue #2751363 by jibran: Don't allow test entities to share base table 2016-07-19 15:51:39 +01:00
Alex Pott 2d292cd1ef Issue #2477381 by mondrake: GDToolkit::getSupportedExtensions returns incomplete list 2016-07-19 15:25:44 +01:00
Alex Pott 53704b73f5 Issue #2751835 by tstoeckler: Entity::urlRouteParameters() is broken for add-page and add-form link templates 2016-07-19 13:31:32 +01:00
Alex Pott 5356c84371 Issue #2759859 by klausi: Implement getDrupalSettings() on BrowserTestBase for checking JS settings 2016-07-19 13:08:14 +01:00
Alex Pott 2fb3a051fd Issue #2594937 by Peacog, cilefen, Sagar Ramgade, chgasparoto, aerozeppelin, iStryker, feraline, alvar0hurtad0, Cottser, Wim Leers, xjm, sebas5384, almaudoh, gvso, racarvalho1987: Empty 'libraries:' in theme .info.yml file produces confusing PHP warning 2016-07-18 11:24:51 +01:00
xjm c572b9243e Issue #2758067 by jhedstrom, pfrenssen: BrowserTestBase::drupalCreateUser() should use UserCreationTrait::createUser() 2016-07-17 14:55:10 +02:00
xjm 70a2d8c112 Issue #2491033 by daffie, mgifford, dawehner: Return value of Database::getLog() is inconsistent -- always return an array, even when empty 2016-07-17 11:55:48 +02:00
Alex Pott b430fe2f23 Issue #2434567 by marcoscano, daffie, dawehner: Create PHPUnit tests for Database::convertDbUrlToConnectionInfo() and Database::getConnectionInfoAsUrl() 2016-07-13 19:45:36 +02:00
Nathaniel Catchpole 8a1341ac97 Issue #2718733 by alexpott: ConfigInstaller can create configuration files which have unmet dependencies 2016-07-12 12:04:46 +01:00
Alex Pott 895c2048d3 Revert "Issue #2353611 by larowlan, dawehner, sime, alexpott, Wim Leers, tstoeckler: Make it possible to link to an entity by UUID"
This reverts commit 85bc69df87.
2016-07-08 12:05:26 +01:00
Nathaniel Catchpole fdb0db8e79 Issue #2754003 by Berdir, Wim Leers: Move more cache items from the default to the bootstrap or discovery bin 2016-07-05 22:35:04 +01:00
Nathaniel Catchpole cc6885bde6 Issue #2755843 by alexpott, xjm: The order in which config is saved affects dependency calculations 2016-07-04 12:55:53 +01:00
Nathaniel Catchpole 260c6ee91e Issue #2675648 by Bès, dawehner, Haza, chx: Code after hook_link_alter() invocation does not use the altered data 2016-07-04 12:18:49 +01:00
Nathaniel Catchpole 6309f944ee Issue #2742599 by Mile23: Fix 'Drupal.WhiteSpace.ObjectOperatorSpacing' coding standard 2016-07-04 11:48:49 +01:00
Nathaniel Catchpole 3eb2def446 Issue #2757427 by alexpott, Xano: Array was modified by the user comparison function in ConfigDependencyManager::getDependentEntities() 2016-07-01 13:12:49 +01:00
Alex Pott 57ad987f45 Issue #2756307 by Fabianx, dawehner: Provide a setting to disable FileCache completely for unit tests 2016-06-30 18:11:40 +01:00
Nathaniel Catchpole 63b7ded426 Issue #2744421 by andypost, Wim Leers: QueryArgsCacheContext::getContext() may return NULL, violates the interface 2016-06-30 12:09:05 +01:00
Nathaniel Catchpole ea6a8c33f7 Issue #2757139 by pfrenssen: Fix visibility of AssertLegacyTrait::buildXPathQuery() 2016-06-28 14:34:05 +01:00
Alex Pott 85bc69df87 Issue #2353611 by larowlan, dawehner, sime, alexpott, Wim Leers, tstoeckler: Make it possible to link to an entity by UUID 2016-06-28 09:44:36 +01:00
Nathaniel Catchpole c9fb29d5ea Issue #2750941 by dawehner, klausi, jibran: Additional BC assertions from WebTestBase to BrowserTestBase 2016-06-28 09:27:56 +01:00
Alex Pott ffd027bb80 Revert "Issue #2675010 by hchonov: Cloned entity will point to the same field objects if the clone was created after an entity translation has been initialized"
This reverts commit fe08d93c26.
2016-06-27 16:46:21 +01:00
Alex Pott 8ce4b6bc08 Issue #2751583 by tstoeckler: Entity::urlRouteParameters() calls getRevisionId() for non-revisionable entities 2016-06-27 10:46:54 +02:00