From b07ddf44010d65b973e8d0203fc36f356b03d56c Mon Sep 17 00:00:00 2001 From: Daniel Sasser Date: Tue, 27 Feb 2024 13:22:40 -0800 Subject: [PATCH] VACMS-17116: Renames view and test module. --- .../test_views/views.view.va_gov_eca_default_content.yml} | 2 +- .../va_gov_eca_test_views.info.yml} | 0 .../tests/src/Kernel/ViewsResultConditionTest.php | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) rename docroot/modules/custom/va_gov_eca/tests/modules/{va_gov_eca_views_tests/test_views/views.view.test_default.yml => va_gov_eca_test_views/test_views/views.view.va_gov_eca_default_content.yml} (99%) rename docroot/modules/custom/va_gov_eca/tests/modules/{va_gov_eca_views_tests/va_gov_eca_views_tests.info.yml => va_gov_eca_test_views/va_gov_eca_test_views.info.yml} (100%) diff --git a/docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_views_tests/test_views/views.view.test_default.yml b/docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_test_views/test_views/views.view.va_gov_eca_default_content.yml similarity index 99% rename from docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_views_tests/test_views/views.view.test_default.yml rename to docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_test_views/test_views/views.view.va_gov_eca_default_content.yml index 43f1015596..48d4c53255 100644 --- a/docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_views_tests/test_views/views.view.test_default.yml +++ b/docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_test_views/test_views/views.view.va_gov_eca_default_content.yml @@ -8,7 +8,7 @@ dependencies: - node - user - va_gov_eca -id: test_default +id: va_gov_eca_default_content label: 'Test Default' module: views description: '' diff --git a/docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_views_tests/va_gov_eca_views_tests.info.yml b/docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_test_views/va_gov_eca_test_views.info.yml similarity index 100% rename from docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_views_tests/va_gov_eca_views_tests.info.yml rename to docroot/modules/custom/va_gov_eca/tests/modules/va_gov_eca_test_views/va_gov_eca_test_views.info.yml diff --git a/docroot/modules/custom/va_gov_eca/tests/src/Kernel/ViewsResultConditionTest.php b/docroot/modules/custom/va_gov_eca/tests/src/Kernel/ViewsResultConditionTest.php index 3479c40c88..83ec272378 100644 --- a/docroot/modules/custom/va_gov_eca/tests/src/Kernel/ViewsResultConditionTest.php +++ b/docroot/modules/custom/va_gov_eca/tests/src/Kernel/ViewsResultConditionTest.php @@ -26,7 +26,7 @@ final class ViewsResultConditionTest extends KernelTestBase { * * @var string[] */ - public static $testViews = ['test_default']; + public static $testViews = ['va_gov_eca_default_content']; /** * {@inheritdoc} @@ -42,7 +42,7 @@ final class ViewsResultConditionTest extends KernelTestBase { 'eca', 'eca_base', 'va_gov_eca', - 'va_gov_eca_views_tests', + 'va_gov_eca_test_views', ]; /** @@ -66,8 +66,8 @@ protected function setUp(): void { $this->createContentType(['type' => 'default']); // Create View from config. - ViewTestData::createTestViews(ViewsResultConditionTest::class, ['va_gov_eca_views_tests']); - $view = View::load('test_default'); + ViewTestData::createTestViews(ViewsResultConditionTest::class, ['va_gov_eca_test_views']); + $view = View::load('va_gov_eca_default_content'); // Create our Condition plugin instance. $config = [