We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e9d927 commit a8bff0aCopy full SHA for a8bff0a
Tests/Unit/DependencyInjection/ConfigurationTest.php
@@ -113,7 +113,11 @@ public function testThrowIfClientDriverOptionsIsNotArray()
113
$processor = new Processor();
114
115
$this->expectException(InvalidTypeException::class);
116
- $this->expectExceptionMessage('Invalid type for path "enqueue.default.client.driver_options". Expected array, but got string');
+ // Exception messages vary slightly between versions
117
+ $this->expectExceptionMessageMatches(
118
+ '/Invalid type for path "enqueue\.default\.client\.driver_options"\. Expected "?array"?, but got "?string"?/'
119
+ );
120
+
121
$processor->processConfiguration($configuration, [[
122
'default' => [
123
'transport' => 'null:',
0 commit comments