Skip to content
Snippets Groups Projects
Commit 63a2f1cf authored by Tim Rohaly's avatar Tim Rohaly Committed by Tim Rohaly
Browse files

Issue #3322628 by TR: ViewTestBase::setUp() signature was changed in core Drupal

parent b7a770b0
No related branches found
No related tags found
1 merge request!5Issue #3382721 by derekw Creation of dynamic property Drupal\views_aggregator\Plugin\views\style\Table::$commerce_field_values is deprecated
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
namespace Drupal\Tests\views_aggregator\Functional\Plugin; namespace Drupal\Tests\views_aggregator\Functional\Plugin;
use Drupal\Tests\views\Functional\ViewTestBase; use Drupal\Tests\views\Functional\ViewTestBase;
use Drupal\views\Tests\ViewTestData;
use Drupal\views\Entity\View; use Drupal\views\Entity\View;
/** /**
...@@ -46,10 +45,9 @@ class ViewsAggregatorResultsTest extends ViewTestBase { ...@@ -46,10 +45,9 @@ class ViewsAggregatorResultsTest extends ViewTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp($import_test_views = TRUE): void { protected function setUp($import_test_views = TRUE, $modules = ['views_aggregator_test_config']): void {
parent::setUp($import_test_views); parent::setUp($import_test_views, $modules);
$this->enableViewsTestModule(); $this->enableViewsTestModule();
ViewTestData::createTestViews(get_class($this), ['views_aggregator_test_config']);
} }
/** /**
......
...@@ -4,7 +4,6 @@ namespace Drupal\Tests\views_aggregator\Functional\Plugin; ...@@ -4,7 +4,6 @@ namespace Drupal\Tests\views_aggregator\Functional\Plugin;
use Drupal\dynamic_page_cache\EventSubscriber\DynamicPageCacheSubscriber; use Drupal\dynamic_page_cache\EventSubscriber\DynamicPageCacheSubscriber;
use Drupal\Tests\views\Functional\ViewTestBase; use Drupal\Tests\views\Functional\ViewTestBase;
use Drupal\views\Tests\ViewTestData;
use Drupal\views\Entity\View; use Drupal\views\Entity\View;
/** /**
...@@ -50,10 +49,9 @@ class ViewsAggregatorStyleTableTest extends ViewTestBase { ...@@ -50,10 +49,9 @@ class ViewsAggregatorStyleTableTest extends ViewTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp($import_test_views = TRUE): void { protected function setUp($import_test_views = TRUE, $modules = ['views_aggregator_test_config']): void {
parent::setUp($import_test_views); parent::setUp($import_test_views, $modules);
$this->enableViewsTestModule(); $this->enableViewsTestModule();
ViewTestData::createTestViews(get_class($this), ['views_aggregator_test_config']);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment