Skip to content
Snippets Groups Projects
Commit af44795e authored by project update bot's avatar project update bot
Browse files

Merge branch 'project-update-bot-only' into '1.0.x'

Automated Project Update Bot fixes

See merge request !82
parents 0cb72e4b b4841a88
No related branches found
No related tags found
No related merge requests found
Pipeline #171770 skipped
...@@ -24,6 +24,7 @@ class ClientFactoryTest extends UnitTestCase { ...@@ -24,6 +24,7 @@ class ClientFactoryTest extends UnitTestCase {
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp(): void { protected function setUp(): void {
parent::setUp();
$storage = $this->createMock('Drupal\Core\Config\StorageInterface'); $storage = $this->createMock('Drupal\Core\Config\StorageInterface');
$event_dispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface'); $event_dispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
$typed_config = $this->createMock('Drupal\Core\Config\TypedConfigManagerInterface'); $typed_config = $this->createMock('Drupal\Core\Config\TypedConfigManagerInterface');
...@@ -35,9 +36,7 @@ class ClientFactoryTest extends UnitTestCase { ...@@ -35,9 +36,7 @@ class ClientFactoryTest extends UnitTestCase {
] ]
); );
$config = $this->getMockBuilder('\Drupal\Core\Config\ConfigFactory') $config = $this->createMock('\Drupal\Core\Config\ConfigFactory');
->disableOriginalConstructor()
->getMock();
$config->expects($this->any()) $config->expects($this->any())
->method('get') ->method('get')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment