Skip to content

Commit c73154f

Browse files
committed
fix: Use proper userId in taskprocessing trigger tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent f050c32 commit c73154f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/TaskProcessing/TaskProcessingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,12 +1305,12 @@ public function testTriggerableProviderWithOtherRunningTasks() {
13051305
$this->configureEventDispatcherMock(providersToAdd: [$externalProvider]);
13061306
$this->manager = $this->createManagerInstance();
13071307

1308-
$task = new Task($externalProvider->getTaskTypeId(), ['input' => ''], 'tests', 'foobar');
1308+
$task = new Task($externalProvider->getTaskTypeId(), ['input' => ''], 'tests', null);
13091309
$this->manager->scheduleTask($task);
13101310
$this->manager->lockTask($task);
13111311

13121312
// Act
1313-
$task = new Task($externalProvider->getTaskTypeId(), ['input' => ''], 'tests', 'foobar');
1313+
$task = new Task($externalProvider->getTaskTypeId(), ['input' => ''], 'tests', null);
13141314
$this->manager->scheduleTask($task);
13151315
}
13161316

0 commit comments

Comments
 (0)