From a6e1775bd4995ceb7eb80b5a517588902b22361b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommy=20Lynge=20J=C3=B8rgensen?= Date: Wed, 26 Apr 2017 15:59:05 +0100 Subject: [PATCH] Delete old test file --- src/Tests/ConfigIgnoreHookTest.php | 68 ------------------------------ 1 file changed, 68 deletions(-) delete mode 100644 src/Tests/ConfigIgnoreHookTest.php diff --git a/src/Tests/ConfigIgnoreHookTest.php b/src/Tests/ConfigIgnoreHookTest.php deleted file mode 100644 index da7a754..0000000 --- a/src/Tests/ConfigIgnoreHookTest.php +++ /dev/null @@ -1,68 +0,0 @@ -drupalLogin($this->drupalCreateUser(['import configuration'])); - - // Set the site name to a known value that we later will try and overwrite. - $this->config('system.site')->set('name', 'Test import title')->save(); - - // Assemble a change that will try and override the current value. - $config = $this->config('system.site')->set('name', 'Import has changed title'); - - $edit = [ - 'config_type' => 'system.simple', - 'config_name' => $config->getName(), - 'import' => Yaml::encode($config->get()), - ]; - - // @TODO: Test the hook differently, single import is not ignored. -// // Submit a new single item config, with the changes. -// $this->drupalPostForm('admin/config/development/configuration/single/import', $edit, t('Import')); -// $this->drupalPostForm(NULL, [], t('Confirm')); -// -// // Validate if the title from the imported config was rejected, due to the -// // hook implemented in the `config_ignore_hook_test` module. -// $this->drupalGet(''); -// $this->assertText('Test import title'); - } - -} -- GitLab