Skip to content

Commit

Permalink
Adjust test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Mar 12, 2024
1 parent ce81f04 commit 0074ce5
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions tests/TestCase/Utility/CommandFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@ public function testAll() {

$result = (new CommandFinder())->all();
unset($result['Queue.MigrateTasks']);

$keys = array_keys($result);
$expected = [
'Queue.BakeQueueTask' => 'Queue.BakeQueueTask',
'Queue.Worker' => 'Queue.Worker',
'Queue.Job' => 'Queue.Job',
'Queue.Run' => 'Queue.Run',
'Queue.Add' => 'Queue.Add',
'Queue.Info' => 'Queue.Info',
'QueueScheduler.Run' => 'QueueScheduler.Run',
'Tools.Inflect' => 'Tools.Inflect',
'Queue.BakeQueueTask',
'Queue.Worker',
'Queue.Job',
'Queue.Run',
'Queue.Add',
'Queue.Info',
'QueueScheduler.Run',
'Tools.Inflect',
];
$this->assertEquals($expected, $result);
$this->assertEquals($expected, $keys);

Check failure on line 32 in tests/TestCase/Utility/CommandFinderTest.php

View workflow job for this annotation

GitHub Actions / testsuite (8.1, mysql)

Failed asserting that two arrays are equal.

Check failure on line 32 in tests/TestCase/Utility/CommandFinderTest.php

View workflow job for this annotation

GitHub Actions / testsuite (8.3, mysql)

Failed asserting that two arrays are equal.

Check failure on line 32 in tests/TestCase/Utility/CommandFinderTest.php

View workflow job for this annotation

GitHub Actions / testsuite (8.1, mysql)

Failed asserting that two arrays are equal.

Check failure on line 32 in tests/TestCase/Utility/CommandFinderTest.php

View workflow job for this annotation

GitHub Actions / testsuite (8.3, mysql)

Failed asserting that two arrays are equal.
}

}

0 comments on commit 0074ce5

Please sign in to comment.