File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments