File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public static function setUpBeforeClass()
20
20
$ resolver = $ factory ->create ('6.6.6.6 ' , self ::$ loop );
21
21
$ connector = new React \SocketClient \Connector (self ::$ loop , $ resolver );
22
22
23
- self ::$ factory = new Factory (self :: $ loop , $ connector );
23
+ self ::$ factory = new Factory ($ connector );
24
24
}
25
25
26
26
public function testPing ()
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function setUp()
17
17
$ resolver = $ factory ->create ('6.6.6.6 ' , $ this ->loop );
18
18
$ connector = new React \SocketClient \Connector ($ this ->loop , $ resolver );
19
19
20
- $ this ->factory = new Factory ($ this -> loop , $ connector );
20
+ $ this ->factory = new Factory ($ connector );
21
21
}
22
22
23
23
public function testPrequisiteServerAcceptsAnyPassword ()
@@ -82,11 +82,4 @@ public function testClientInvalidAddress()
82
82
83
83
$ this ->expectPromiseReject ($ promise );
84
84
}
85
-
86
- public function testClientRequiresConnector ()
87
- {
88
- $ factory = new Factory ($ this ->loop );
89
-
90
- $ this ->expectPromiseReject ($ factory ->createClient ());
91
- }
92
85
}
You can’t perform that action at this time.
0 commit comments