X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Frest%2Ftests%2Fsrc%2FKernel%2FEntity%2FConfigDependenciesTest.php;fp=web%2Fcore%2Fmodules%2Frest%2Ftests%2Fsrc%2FKernel%2FEntity%2FConfigDependenciesTest.php;h=c885990ff7414fe4ecba2bb566720840572c57cd;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=51ad3e977f088067988445f71990f37353ea5679;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/web/core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php b/web/core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php index 51ad3e977..c885990ff 100644 --- a/web/core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php +++ b/web/core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php @@ -202,8 +202,9 @@ class ConfigDependenciesTest extends KernelTestBase { * @dataProvider providerOnDependencyRemovalForResourceGranularity */ public function testOnDependencyRemovalForResourceGranularity(array $configuration, $module, $expected_configuration) { - assert('is_string($module)'); - assert('$expected_configuration === FALSE || is_array($expected_configuration)'); + assert(is_string($module)); + assert($expected_configuration === FALSE || is_array($expected_configuration)); + $config_dependencies = new ConfigDependencies(['hal_json' => 'hal', 'json' => 'serialization'], ['basic_auth' => 'basic_auth']); $rest_config = RestResourceConfig::create($configuration);