Skip to content

Commit 034774f

Browse files
committed
fix tests
1 parent 3b04ef8 commit 034774f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/mongodb/Symfony/MongodbTransportFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class MongodbTransportFactory implements TransportFactoryInterface, DriverFactor
2222
/**
2323
* @param string $name
2424
*/
25-
public function __construct($name = 'Mongodb')
25+
public function __construct($name = 'mongodb')
2626
{
2727
$this->name = $name;
2828
}

pkg/mongodb/Tests/MongodbMessageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public function testCouldBeConstructedWithOptionalArguments()
3030
$this->assertSame(['fooHeader' => 'fooHeaderVal'], $message->getHeaders());
3131
}
3232

33-
public function testShouldSetPriorityToZeroInConstructor()
33+
public function testShouldSetNullPriorityInConstructor()
3434
{
3535
$message = new MongodbMessage();
3636

37-
$this->assertSame(0, $message->getPriority());
37+
$this->assertNull($message->getPriority());
3838
}
3939

4040
public function testShouldSetDelayToNullInConstructor()

0 commit comments

Comments
 (0)