Skip to content
Snippets Groups Projects
Commit 60a6faa9 authored by Aaron Bauman's avatar Aaron Bauman
Browse files

Fix pullbase test

parent c6e729d4
No related branches found
No related tags found
No related merge requests found
Pipeline #64419 failed
...@@ -246,16 +246,12 @@ class PullBaseTest extends UnitTestCase { ...@@ -246,16 +246,12 @@ class PullBaseTest extends UnitTestCase {
$container->set('entity_type.manager', $this->etm); $container->set('entity_type.manager', $this->etm);
\Drupal::setContainer($container); \Drupal::setContainer($container);
$prophecy = $this->prophesize(QueueHandler::CLASS);
$this->queueHandler = $prophecy->reveal();
$this->pullWorker = $this $this->pullWorker = $this
->getMockBuilder(PullBase::CLASS) ->getMockBuilder(PullBase::CLASS)
->setConstructorArgs([ ->setConstructorArgs([
$this->etm, $this->etm,
$this->sfapi, $this->sfapi,
$this->ed, $this->ed,
$this->queueHandler,
[], [],
'cron_salesforce_pull', 'cron_salesforce_pull',
['cron' => ['time' => 180]], ['cron' => ['time' => 180]],
...@@ -319,7 +315,6 @@ class PullBaseTest extends UnitTestCase { ...@@ -319,7 +315,6 @@ class PullBaseTest extends UnitTestCase {
$this->etm, $this->etm,
$this->sfapi, $this->sfapi,
$this->ed, $this->ed,
$this->queueHandler,
[], [],
'cron_salesforce_pull', 'cron_salesforce_pull',
['cron' => ['time' => 180]], ['cron' => ['time' => 180]],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment