Skip to content

Commit

Permalink
[TASK] Skip ItemProcessingService in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Mar 19, 2024
1 parent 544d44d commit 02565d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/Unit/Integration/MultipleItemsProcFuncTest.php
Expand Up @@ -49,7 +49,9 @@ public function testExecutesFunctionWithItemProcessingService(): void
}
MultipleItemsProcFunc::register('table', 'field', static::class . '->dummyFunction');
$parameters = ['table' => 'table', 'field' => 'field'];
$itemProcessingServiceProvider = $this->getMockBuilder(ItemProcessingService::class)->getMockForAbstractClass();
$itemProcessingServiceProvider = $this->getMockBuilder(ItemProcessingService::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
(new MultipleItemsProcFunc())->execute($parameters, $itemProcessingServiceProvider);

self::assertTrue(static::$executed);
Expand Down

0 comments on commit 02565d8

Please sign in to comment.