diff --git a/modules/salesforce_pull/tests/src/Unit/PullBaseTest.php b/modules/salesforce_pull/tests/src/Unit/PullBaseTest.php index 07052a70f832952d3b225b55f443620cc2e084e6..038bc055d969880d85298777fed6101f1f577085 100644 --- a/modules/salesforce_pull/tests/src/Unit/PullBaseTest.php +++ b/modules/salesforce_pull/tests/src/Unit/PullBaseTest.php @@ -246,16 +246,12 @@ class PullBaseTest extends UnitTestCase { $container->set('entity_type.manager', $this->etm); \Drupal::setContainer($container); - $prophecy = $this->prophesize(QueueHandler::CLASS); - $this->queueHandler = $prophecy->reveal(); - $this->pullWorker = $this ->getMockBuilder(PullBase::CLASS) ->setConstructorArgs([ $this->etm, $this->sfapi, $this->ed, - $this->queueHandler, [], 'cron_salesforce_pull', ['cron' => ['time' => 180]], @@ -319,7 +315,6 @@ class PullBaseTest extends UnitTestCase { $this->etm, $this->sfapi, $this->ed, - $this->queueHandler, [], 'cron_salesforce_pull', ['cron' => ['time' => 180]],