diff --git a/core/modules/node/lib/Drupal/node/Tests/Views/FieldTypeTest.php b/core/modules/node/lib/Drupal/node/Tests/Views/FieldTypeTest.php index d6b6fba..17bcea5 100644 --- a/core/modules/node/lib/Drupal/node/Tests/Views/FieldTypeTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/Views/FieldTypeTest.php @@ -17,7 +17,7 @@ class FieldTypeTest extends NodeTestBase { * * @var array */ - public static $testViews = array('node_test_field_type'); + public static $testViews = array('test_field_type'); public static function getInfo() { return array( @@ -38,7 +38,7 @@ public function testFieldType() { 'node_field_data_type' => 'node_field_data_type', ); - $view = views_get_view('node_test_field_type'); + $view = views_get_view('test_field_type'); $this->executeView($view); $this->assertIdenticalResultset($view, $expected_result, $column_map, 'The correct node type was displayed.'); } diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.node_test_field_type.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.node_test_field_type.yml deleted file mode 100644 index 4198f1a..0000000 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.node_test_field_type.yml +++ /dev/null @@ -1,20 +0,0 @@ -base_table: node -core: '8' -description: '' -status: '1' -display: - default: - display_options: - fields: - type: - field: type - id: type - table: node_field_data - provider: node - display_plugin: default - display_title: Master - id: default - position: '0' -label: '' -id: node_test_field_type -tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_type.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_type.yml similarity index 100% rename from core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_type.yml rename to core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_type.yml