Verified Commit 7bf33f22 authored by Dave Long's avatar Dave Long
Browse files

task: #3568027 Move views.view.test_history to history module

By: quietone
By: dcam
(cherry picked from commit 33cc9950)
parent b4415ec4
Loading
Loading
Loading
Loading
Loading
+0 −0

File moved.

+3 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
use Drupal\node\Entity\Node;
use Drupal\Tests\views\Kernel\ViewsKernelTestBase;
use Drupal\user\Entity\User;
use Drupal\views\Tests\ViewTestData;
use Drupal\views\Views;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
@@ -25,7 +26,7 @@ class HistoryTimestampTest extends ViewsKernelTestBase {
  /**
   * {@inheritdoc}
   */
  protected static $modules = ['history', 'node'];
  protected static $modules = ['history', 'history_test_views', 'node'];

  /**
   * Views used by this test.
@@ -39,6 +40,7 @@ class HistoryTimestampTest extends ViewsKernelTestBase {
   */
  protected function setUp($import_test_views = TRUE): void {
    parent::setUp($import_test_views);
    ViewTestData::createTestViews(static::class, ['history_test_views']);

    $this->installEntitySchema('node');
    $this->installEntitySchema('user');
+0 −2
Original line number Diff line number Diff line
@@ -96,8 +96,6 @@ class TestViewsTest extends KernelTestBase {
    'rest_test_views',
    // `search` is a module dependency.
    // @see core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_dependency.yml
    // `history` is a module dependency.
    // @see core/modules/views/tests/modules/views_test_config/test_views/views.view.test_history.yml
    // The `image` module is required by at least one of the Node module's
    // views.
    'image',