Commit 9ef92a40 authored by catch's avatar catch

Issue #2905627 by Lendude, dawehner: Part-2: Convert UpdatePathTestBase to BrowserTestBase

parent df074f63
<?php <?php
namespace Drupal\aggregator\Tests\Update; namespace Drupal\Tests\aggregator\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests that node settings are properly updated during database updates. * Tests that node settings are properly updated during database updates.
...@@ -16,7 +16,7 @@ class AggregatorUpdateTest extends UpdatePathTestBase { ...@@ -16,7 +16,7 @@ class AggregatorUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\block\Tests\Update; namespace Drupal\Tests\block\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests the upgrade path for block with conditions missing context. * Tests the upgrade path for block with conditions missing context.
...@@ -34,8 +34,8 @@ class BlockConditionMissingSchemaUpdateTest extends UpdatePathTestBase { ...@@ -34,8 +34,8 @@ class BlockConditionMissingSchemaUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
__DIR__ . '/../../../tests/fixtures/update/drupal-8.block-test-enabled-missing-schema.php', __DIR__ . '/../../../fixtures/update/drupal-8.block-test-enabled-missing-schema.php',
]; ];
} }
......
<?php <?php
namespace Drupal\block\Tests\Update; namespace Drupal\Tests\block\Functional\Update;
/** /**
* Runs BlockContextMappingUpdateTest with a dump filled with content. * Runs BlockContextMappingUpdateTest with a dump filled with content.
...@@ -14,7 +14,7 @@ class BlockContextMappingUpdateFilledTest extends BlockContextMappingUpdateTest ...@@ -14,7 +14,7 @@ class BlockContextMappingUpdateFilledTest extends BlockContextMappingUpdateTest
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
parent::setDatabaseDumpFiles(); parent::setDatabaseDumpFiles();
$this->databaseDumpFiles[0] = __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz'; $this->databaseDumpFiles[0] = __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz';
} }
} }
<?php <?php
namespace Drupal\block\Tests\Update; namespace Drupal\Tests\block\Functional\Update;
use Drupal\block\Entity\Block; use Drupal\block\Entity\Block;
use Drupal\FunctionalTests\Update\UpdatePathTestBase;
use Drupal\node\Entity\Node; use Drupal\node\Entity\Node;
use Drupal\system\Tests\Update\UpdatePathTestBase;
/** /**
* Tests the upgrade path for block context mapping renames. * Tests the upgrade path for block context mapping renames.
...@@ -25,10 +25,10 @@ class BlockContextMappingUpdateTest extends UpdatePathTestBase { ...@@ -25,10 +25,10 @@ class BlockContextMappingUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php',
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.language-enabled.php', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.language-enabled.php',
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.block-test-enabled.php', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.block-test-enabled.php',
]; ];
} }
......
<?php <?php
namespace Drupal\block\Tests\Update; namespace Drupal\Tests\block\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests the upgrade path for removal of disabled region. * Tests the upgrade path for removal of disabled region.
...@@ -23,8 +23,8 @@ class BlockRemoveDisabledRegionUpdateTest extends UpdatePathTestBase { ...@@ -23,8 +23,8 @@ class BlockRemoveDisabledRegionUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.update-test-block-disabled-2513534.php', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.update-test-block-disabled-2513534.php',
]; ];
} }
......
<?php <?php
namespace Drupal\block_content\Tests; namespace Drupal\Tests\block_content\Functional\Update;
use Drupal\Core\Field\BaseFieldDefinition; use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests update functions for the Block Content module. * Tests update functions for the Block Content module.
...@@ -17,7 +17,7 @@ class BlockContentUpdateTest extends UpdatePathTestBase { ...@@ -17,7 +17,7 @@ class BlockContentUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\comment\Tests\Update; namespace Drupal\Tests\comment\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests that comment admin view is enabled after update. * Tests that comment admin view is enabled after update.
...@@ -23,7 +23,7 @@ class CommentAdminViewUpdateTest extends UpdatePathTestBase { ...@@ -23,7 +23,7 @@ class CommentAdminViewUpdateTest extends UpdatePathTestBase {
*/ */
public function setDatabaseDumpFiles() { public function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\comment\Tests\Update; namespace Drupal\Tests\comment\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests that comment settings are properly updated during database updates. * Tests that comment settings are properly updated during database updates.
...@@ -16,7 +16,7 @@ class CommentUpdateTest extends UpdatePathTestBase { ...@@ -16,7 +16,7 @@ class CommentUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.filled.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.filled.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\contact\Tests\Update; namespace Drupal\Tests\contact\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests contact update path. * Tests contact update path.
...@@ -16,7 +16,7 @@ class ContactUpdateTest extends UpdatePathTestBase { ...@@ -16,7 +16,7 @@ class ContactUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\content_translation\Tests\Update; namespace Drupal\Tests\content_translation\Functional\Update;
use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Language\LanguageInterface;
use Drupal\FunctionalTests\Update\UpdatePathTestBase;
use Drupal\system\Tests\Entity\EntityDefinitionTestTrait; use Drupal\system\Tests\Entity\EntityDefinitionTestTrait;
use Drupal\system\Tests\Update\UpdatePathTestBase;
/** /**
* Tests the upgrade path for the Content Translation module. * Tests the upgrade path for the Content Translation module.
...@@ -60,7 +60,7 @@ protected function setUp() { ...@@ -60,7 +60,7 @@ protected function setUp() {
*/ */
public function setDatabaseDumpFiles() { public function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\dblog\Tests\Update; namespace Drupal\Tests\dblog\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
use Drupal\views\Views; use Drupal\views\Views;
use Drupal\Core\Serialization\Yaml; use Drupal\Core\Serialization\Yaml;
...@@ -20,8 +20,8 @@ class DblogFiltersAndFieldsUpgradeTest extends UpdatePathTestBase { ...@@ -20,8 +20,8 @@ class DblogFiltersAndFieldsUpgradeTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
__DIR__ . '/../../../tests/fixtures/update/dblog-2851293.php', __DIR__ . '/../../../fixtures/update/dblog-2851293.php',
]; ];
} }
......
<?php <?php
namespace Drupal\dblog\Tests\Update; namespace Drupal\Tests\dblog\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Ensures that update hook that creates the watchdog view ran sucessfully. * Ensures that update hook that creates the watchdog view ran sucessfully.
...@@ -16,7 +16,7 @@ class DblogRecentLogsUsingViewsUpdateTest extends UpdatePathTestBase { ...@@ -16,7 +16,7 @@ class DblogRecentLogsUsingViewsUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\editor\Tests\Update; namespace Drupal\Tests\editor\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests Editor module database updates. * Tests Editor module database updates.
...@@ -16,9 +16,9 @@ class EditorUpdateTest extends UpdatePathTestBase { ...@@ -16,9 +16,9 @@ class EditorUpdateTest extends UpdatePathTestBase {
*/ */
public function setDatabaseDumpFiles() { public function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
// Simulate an un-synchronized environment. // Simulate an un-synchronized environment.
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.editor-editor_update_8001.php', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.editor-editor_update_8001.php',
]; ];
} }
......
<?php <?php
namespace Drupal\field\Tests\Update; namespace Drupal\Tests\field\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests the update for the 'size' setting of the 'email_default' field widget. * Tests the update for the 'size' setting of the 'email_default' field widget.
...@@ -16,8 +16,8 @@ class EmailWidgetSizeSettingUpdateTest extends UpdatePathTestBase { ...@@ -16,8 +16,8 @@ class EmailWidgetSizeSettingUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
__DIR__ . '/../../../tests/fixtures/update/drupal-8.email_widget_size_setting-2578741.php', __DIR__ . '/../../../fixtures/update/drupal-8.email_widget_size_setting-2578741.php',
]; ];
} }
......
<?php <?php
namespace Drupal\field\Tests\Update; namespace Drupal\Tests\field\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests the update for the entity reference 'handler' setting. * Tests the update for the entity reference 'handler' setting.
...@@ -16,7 +16,7 @@ class EntityReferenceHandlerSettingUpdateTest extends UpdatePathTestBase { ...@@ -16,7 +16,7 @@ class EntityReferenceHandlerSettingUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\field\Tests\Update; namespace Drupal\Tests\field\Functional\Update;
use Drupal\Core\Config\Config; use Drupal\Core\Config\Config;
use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldConfig;
use Drupal\FunctionalTests\Update\UpdatePathTestBase;
use Drupal\node\Entity\Node; use Drupal\node\Entity\Node;
use Drupal\system\Tests\Update\UpdatePathTestBase;
/** /**
* Tests that field settings are properly updated during database updates. * Tests that field settings are properly updated during database updates.
...@@ -34,8 +34,8 @@ protected function setUp() { ...@@ -34,8 +34,8 @@ protected function setUp() {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
__DIR__ . '/../../../tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php', __DIR__ . '/../../../fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php',
]; ];
} }
......
<?php <?php
namespace Drupal\file\Tests\Update; namespace Drupal\Tests\file\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests the upgrade path for setting the file usage deletion configuration. * Tests the upgrade path for setting the file usage deletion configuration.
...@@ -23,7 +23,7 @@ class FileUsageTemporaryDeletionConfigurationUpdateTest extends UpdatePathTestBa ...@@ -23,7 +23,7 @@ class FileUsageTemporaryDeletionConfigurationUpdateTest extends UpdatePathTestBa
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
]; ];
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
namespace Drupal\Tests\hal\Functional\Update; namespace Drupal\Tests\hal\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests that 'hal.settings' is created, to store 'link_domain'. * Tests that 'hal.settings' is created, to store 'link_domain'.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
namespace Drupal\Tests\hal\Functional\Update; namespace Drupal\Tests\hal\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* 'link_domain' is migrated from 'rest.settings' to 'hal.settings'. * 'link_domain' is migrated from 'rest.settings' to 'hal.settings'.
......
<?php <?php
namespace Drupal\image\Tests\Update; namespace Drupal\Tests\image\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests Image update path. * Tests Image update path.
...@@ -16,7 +16,7 @@ class ImageUpdateTest extends UpdatePathTestBase { ...@@ -16,7 +16,7 @@ class ImageUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\language\Tests\Update; namespace Drupal\Tests\language\Functional\Update;
use Drupal\system\Tests\Update\UpdatePathTestBase;
use Drupal\Core\Entity\Entity\EntityFormDisplay; use Drupal\Core\Entity\Entity\EntityFormDisplay;
use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests the update path for the language_select widget. * Tests the update path for the language_select widget.
...@@ -17,7 +17,7 @@ class LanguageSelectWidgetUpdateTest extends UpdatePathTestBase { ...@@ -17,7 +17,7 @@ class LanguageSelectWidgetUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\node\Tests\Update; namespace Drupal\Tests\node\Functional\Update;
use Drupal\Core\Entity\Entity\EntityFormDisplay; use Drupal\Core\Entity\Entity\EntityFormDisplay;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests that node settings are properly updated during database updates. * Tests that node settings are properly updated during database updates.
...@@ -17,7 +17,7 @@ class NodeUpdateTest extends UpdatePathTestBase { ...@@ -17,7 +17,7 @@ class NodeUpdateTest extends UpdatePathTestBase {
*/ */
protected function setDatabaseDumpFiles() { protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz',
]; ];
} }
......
<?php <?php
namespace Drupal\responsive_image\Tests\Update; namespace Drupal\Tests\responsive_image\Functional\Update;
use Drupal\Core\Entity\Entity\EntityViewDisplay; use Drupal\Core\Entity\Entity\EntityViewDisplay;
use Drupal\Core\Serialization\Yaml; use Drupal\Core\Serialization\Yaml;
use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/** /**
* Tests responsive image module updates. * Tests responsive image module updates.
...@@ -18,7 +18,7 @@ class ResponsiveImageUpdateTest extends UpdatePathTestBase { ...@@ -18,7 +18,7 @@ class ResponsiveImageUpdateTest extends UpdatePathTestBase {
*/ */
public function setDatabaseDumpFiles() { public function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [ $this->databaseDumpFiles = [
__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz',
]; ];
} }
...@@ -47,7 +47,7 @@ protected function setUp() { ...@@ -47,7 +47,7 @@ protected function setUp() {
*/ */
public function testPostUpdateDependency() { public function testPostUpdateDependency() {
// Installing the 'wide' responsive image style. // Installing the 'wide' responsive image style.
$wide_image_style = Yaml::decode(file_get_contents(__DIR__ . '/../../../../../profiles/standard/config/optional/responsive_image.styles.wide.yml')); $wide_image_style = Yaml::decode(file_get_contents(__DIR__ . '/../../../../../../profiles/standard/config/optional/responsive_image.styles.wide.yml'));
$this->config('responsive_image.styles.wide')->setData($wide_image_style)->save(TRUE); $this->config('responsive_image.styles.wide')->setData($wide_image_style)->save(TRUE);
// Change 'field_image' formatter to a responsive image formatter. // Change 'field_image' formatter to a responsive image formatter.
......