Skip to content

Commit da2a8d7

Browse files
committed
fix tests
1 parent 7ec8c4b commit da2a8d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/TestCase/QueueManagerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
use LogicException;
2626
use TestApp\Job\LogToDebugJob;
2727
use TestApp\Job\UniqueJob;
28+
use TypeError;
2829

2930
/**
3031
* QueueManager test
@@ -102,7 +103,7 @@ public function testSetConfigWithInvalidConfigValue()
102103

103104
public function testSetConfigInvalidKeyValue()
104105
{
105-
$this->expectException(LogicException::class);
106+
$this->expectException(TypeError::class);
106107
QueueManager::setConfig(['test' => []], 'default');
107108
}
108109

0 commit comments

Comments
 (0)