Skip to content

Commit 757c3d3

Browse files
committed
cleanup
1 parent 1d05de7 commit 757c3d3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/stomp/Tests/StompConnectionFactoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ public function testShouldCreateActiveMQContext()
5858

5959
public function testShouldNotCreateConnectionWithSendHeartbeat()
6060
{
61-
$factory = new StompConnectionFactory(['send_heartbeat' => 2000, 'host' => 'activemq']);
61+
$factory = new StompConnectionFactory(['send_heartbeat' => 2000]);
6262
$this->expectException(HeartbeatException::class);
6363
$factory->createContext()->getStomp();
6464
}
6565

6666
public function testShouldCreateConnectionWithSendHeartbeat()
6767
{
68-
$factory = new StompConnectionFactory(['send_heartbeat' => 2000, 'host' => 'activemq', 'read_timeout' => 1]);
68+
$factory = new StompConnectionFactory(['send_heartbeat' => 2000, 'read_timeout' => 1]);
6969
$context = $factory->createContext();
7070

7171
$observers = $context->getStomp()->getConnection()->getObservers()->getObservers();
@@ -76,7 +76,7 @@ public function testShouldCreateConnectionWithSendHeartbeat()
7676

7777
public function testShouldCreateConnectionWithReceiveHeartbeat()
7878
{
79-
$factory = new StompConnectionFactory(['receive_heartbeat' => 2000, 'host' => 'activemq']);
79+
$factory = new StompConnectionFactory(['receive_heartbeat' => 2000]);
8080
$context = $factory->createContext();
8181

8282
$observers = $context->getStomp()->getConnection()->getObservers()->getObservers();

0 commit comments

Comments
 (0)