File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - 5.6
88 - 7
99 - hhvm
10- - hhvm-nightly
1110
12- matrix :
13- allow_failures :
14- - php : 7
15- - php : hhvm
16- - php : hhvm-nightly
17- fast_finish : true
11+ sudo : false
1812
19- before_script :
20- - composer install --dev --prefer-source
13+ install :
14+ - composer install --prefer-source --no-interaction
2115
2216script :
2317 - phpunit --coverage-text
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