diff --git a/modules/purge_queuer_coretags/tests/src/Unit/CacheTagsQueuerTest.php b/modules/purge_queuer_coretags/tests/src/Unit/CacheTagsQueuerTest.php index 49f383e..83ac9af 100644 --- a/modules/purge_queuer_coretags/tests/src/Unit/CacheTagsQueuerTest.php +++ b/modules/purge_queuer_coretags/tests/src/Unit/CacheTagsQueuerTest.php @@ -88,6 +88,7 @@ class CacheTagsQueuerTest extends UnitTestCase { * {@inheritdoc} */ protected function setUp() { + parent::setUp(); $this->purgeQueue = $this->getMockBuilder(QueueServiceInterface::class)->setMethods([])->getMock(); $this->purgeQueuers = $this->getMockBuilder(QueuersServiceInterface::class)->setMethods(['get'])->getMock(); $this->purgeInvalidationFactory = $this->getMockForAbstractClass(InvalidationsServiceInterface::class); diff --git a/modules/purge_ui/tests/src/Unit/Form/LoggingConfigFormTest.php b/modules/purge_ui/tests/src/Unit/Form/LoggingConfigFormTest.php index 765b517..cea7a6c 100644 --- a/modules/purge_ui/tests/src/Unit/Form/LoggingConfigFormTest.php +++ b/modules/purge_ui/tests/src/Unit/Form/LoggingConfigFormTest.php @@ -38,6 +38,7 @@ class LoggingConfigFormTest extends UnitTestCase { * {@inheritdoc} */ protected function setUp() { + parent::setUp(); $defaults = [['id' => 'testchannel', 'grants' => [2,4,1]]]; $this->purgeLogger = $this->getMock('Drupal\purge\Logger\LoggerServiceInterface'); $this->purgeLogger->method('getChannels')->willReturn($defaults); diff --git a/tests/src/Unit/Logger/LoggerChannelPartFactoryTest.php b/tests/src/Unit/Logger/LoggerChannelPartFactoryTest.php index 2c3d2fe..d1dd544 100644 --- a/tests/src/Unit/Logger/LoggerChannelPartFactoryTest.php +++ b/tests/src/Unit/Logger/LoggerChannelPartFactoryTest.php @@ -29,6 +29,7 @@ class LoggerChannelPartFactoryTest extends UnitTestCase { * {@inheritdoc} */ protected function setUp() { + parent::setUp(); $this->loggerChannelPurge = $this->getMock('\Psr\Log\LoggerInterface'); $this->loggerChannelPartFactory = new LoggerChannelPartFactory($this->loggerChannelPurge); } diff --git a/tests/src/Unit/Logger/LoggerChannelPartTest.php b/tests/src/Unit/Logger/LoggerChannelPartTest.php index dd89210..b7346c4 100644 --- a/tests/src/Unit/Logger/LoggerChannelPartTest.php +++ b/tests/src/Unit/Logger/LoggerChannelPartTest.php @@ -23,6 +23,7 @@ class LoggerChannelPartTest extends UnitTestCase { * {@inheritdoc} */ protected function setUp() { + parent::setUp(); $this->loggerChannelPurge = $this->getMock('\Psr\Log\LoggerInterface'); } diff --git a/tests/src/Unit/Logger/LoggerServiceTest.php b/tests/src/Unit/Logger/LoggerServiceTest.php index d622d23..7cf383f 100644 --- a/tests/src/Unit/Logger/LoggerServiceTest.php +++ b/tests/src/Unit/Logger/LoggerServiceTest.php @@ -47,6 +47,7 @@ class LoggerServiceTest extends UnitTestCase { * {@inheritdoc} */ protected function setUp() { + parent::setUp(); $this->loggerChannelPartFactory = $this->getMock('\Drupal\purge\Logger\LoggerChannelPartFactoryInterface'); $this->loggerChannelPartFactory->method('create') ->willReturn($this->getMock('\Drupal\purge\Logger\LoggerChannelPartInterface')); diff --git a/tests/src/Unit/Logger/PurgeLoggerAwareTraitTest.php b/tests/src/Unit/Logger/PurgeLoggerAwareTraitTest.php index c43e40e..9d91630 100644 --- a/tests/src/Unit/Logger/PurgeLoggerAwareTraitTest.php +++ b/tests/src/Unit/Logger/PurgeLoggerAwareTraitTest.php @@ -21,6 +21,7 @@ class PurgeLoggerAwareTraitTest extends UnitTestCase { * {@inheritdoc} */ protected function setUp() { + parent::setUp(); $this->logger = $this->getMock('\Psr\Log\LoggerInterface'); }