File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,22 +100,6 @@ public function resolveWithNoAnswersShouldCallErrbackIfGiven()
100100 $ resolver ->resolve ('igor.io ' )->then ($ this ->expectCallableNever (), $ errback );
101101 }
102102
103- /** @test */
104- public function resolveSouldProvideDefaultErrorbackToExecutor ()
105- {
106- $ executor = $ this ->createExecutorMock ();
107- $ executor
108- ->expects ($ this ->once ())
109- ->method ('query ' )
110- ->with ($ this ->anything (), $ this ->isInstanceOf ('React\Dns\Query\Query ' ))
111- ->will ($ this ->returnCallback (function ($ nameserver , $ query ) {
112- return Promise \resolve ();
113- }));;
114-
115- $ resolver = new Resolver ('8.8.8.8:53 ' , $ executor );
116- $ resolver ->resolve ('igor.io ' )->then ($ this ->expectCallableNever ());
117- }
118-
119103 protected function expectCallableOnceWith ($ with )
120104 {
121105 $ mock = $ this ->createCallableMock ();
You can’t perform that action at this time.
0 commit comments