Skip to content

Commit

Permalink
Fix tests after NC27 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
R0Wi committed Jul 9, 2023
1 parent 4161d6c commit 3098d2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/Migration/Version2404Date20220903071748.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ private function getDatasetsToMigrate() : array {
$workflowSettings = json_decode($row['operation'], true);
$foundMapping = false;
$newLangArr = [];
if (!array_key_exists('languages', $workflowSettings)) {
continue;
}
$languagesArr = $workflowSettings['languages'];

// Check if we need to migrate the languages code.
Expand Down
3 changes: 2 additions & 1 deletion tests/Unit/BackgroundJobs/ProcessFileJobTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ public function setUp() : void {
$this->jobList = new JobList(
$connectionMock,
$configMock,
$timeFactoryMock
$timeFactoryMock,
$this->logger
);

$this->processFileJob->setArgument([
Expand Down

0 comments on commit 3098d2b

Please sign in to comment.