Skip to content

Commit 240f932

Browse files
committed
fix tests.
1 parent 69674da commit 240f932

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: pkg/fs/Tests/FsConnectionFactoryConfigTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function testThrowNeitherArrayStringNorNullGivenAsConfig()
2424
public function testThrowIfSchemeIsNotAmqp()
2525
{
2626
$this->expectException(\LogicException::class);
27-
$this->expectExceptionMessage('The given DSN "http://example.com" is not supported. Must start with "file://');
27+
$this->expectExceptionMessage('The given DSN "http://example.com" is not supported. Must start with "file:');
2828

2929
new FsConnectionFactory('http://example.com');
3030
}
@@ -83,7 +83,7 @@ public static function provideConfigs()
8383
];
8484

8585
yield [
86-
'file://',
86+
'file:',
8787
[
8888
'path' => sys_get_temp_dir().'/enqueue',
8989
'pre_fetch_count' => 1,

Diff for: pkg/gearman/Tests/GearmanConnectionFactoryConfigTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static function provideConfigs()
6262
];
6363

6464
yield [
65-
'gearman://',
65+
'gearman:',
6666
[
6767
'host' => 'localhost',
6868
'port' => 4730,

Diff for: pkg/pheanstalk/Tests/PheanstalkConnectionFactoryConfigTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static function provideConfigs()
6363
];
6464

6565
yield [
66-
'beanstalk://',
66+
'beanstalk:',
6767
[
6868
'host' => 'localhost',
6969
'port' => 11300,

0 commit comments

Comments
 (0)