diff --git a/core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block.yml b/core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block.yml index e16db6b..4fb4cc1 100644 --- a/core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block.yml +++ b/core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block.yml @@ -11,7 +11,7 @@ display: position: null display_options: access: - type: perm + type: none cache: type: none query: diff --git a/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php b/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php index 3f9d7b1..9c3c2ab 100644 --- a/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php +++ b/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php @@ -90,6 +90,8 @@ protected function setUp() { $entity->field_test->target_id = $referenced_entity->id(); $entity->save(); $this->entities[$entity->id()] = $entity; + + Views::viewsData()->clear(); } /** diff --git a/core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php b/core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php index e019168..8016685 100644 --- a/core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php +++ b/core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php @@ -6,6 +6,7 @@ */ namespace Drupal\views\Tests\Plugin; +use Drupal\views\Views; /** * Provides a base class for a testing a relationship. @@ -39,6 +40,8 @@ protected function setUpFixtures() { $this->installSchema('system', 'sequences'); $this->root_user = entity_create('user', array('name' => $this->randomMachineName())); $this->root_user->save(); + + Views::viewsData()->clear(); } /** diff --git a/core/modules/views/src/Tests/Plugin/RowEntityTest.php b/core/modules/views/src/Tests/Plugin/RowEntityTest.php index 583fb61..abdb06d 100644 --- a/core/modules/views/src/Tests/Plugin/RowEntityTest.php +++ b/core/modules/views/src/Tests/Plugin/RowEntityTest.php @@ -24,7 +24,7 @@ class RowEntityTest extends ViewUnitTestBase { * * @var array */ - public static $modules = array('taxonomy', 'text', 'filter', 'field', 'entity', 'system'); + public static $modules = array('taxonomy', 'text', 'filter', 'field', 'entity', 'system', 'node', 'user'); /** * Views used by this test. diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view.yml index df3bbe2..164abad 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view.yml @@ -10,6 +10,8 @@ display: pager: '0' pager_options: '0' sorts: '0' + row: + type: fields fields: age: field: age