@@ -41,7 +41,7 @@ public function testSuccessiveCallMustUseResponseInterface()
4141 );
4242
4343 $ promise = $ this ->httpAsyncClient ->sendAsyncRequest ($ request );
44- $ this ->assertInstanceOf ('Http\Client \Promise ' , $ promise );
44+ $ this ->assertInstanceOf ('Http\Promise \Promise ' , $ promise );
4545
4646 $ response = null ;
4747 $ promise ->then ()->then ()->then (function ($ r ) use (&$ response ) {
@@ -66,7 +66,7 @@ public function testSuccessiveInvalidCallMustUseException()
6666 );
6767
6868 $ promise = $ this ->httpAsyncClient ->sendAsyncRequest ($ request );
69- $ this ->assertInstanceOf ('Http\Client \Promise ' , $ promise );
69+ $ this ->assertInstanceOf ('Http\Promise \Promise ' , $ promise );
7070
7171 $ exception = null ;
7272 $ response = null ;
@@ -101,7 +101,7 @@ public function testAsyncSendRequest($method, $uri, array $headers, $body)
101101 );
102102
103103 $ promise = $ this ->httpAsyncClient ->sendAsyncRequest ($ request );
104- $ this ->assertInstanceOf ('Http\Client \Promise ' , $ promise );
104+ $ this ->assertInstanceOf ('Http\Promise \Promise ' , $ promise );
105105
106106 $ response = null ;
107107 $ promise ->then (function ($ r ) use (&$ response ) {
@@ -132,7 +132,7 @@ public function testSendAsyncWithInvalidUri()
132132 $ exception = null ;
133133 $ response = null ;
134134 $ promise = $ this ->httpAsyncClient ->sendAsyncRequest ($ request );
135- $ this ->assertInstanceOf ('Http\Client \Promise ' , $ promise );
135+ $ this ->assertInstanceOf ('Http\Promise \Promise ' , $ promise );
136136
137137 $ promise ->then (function ($ r ) use (&$ response ) {
138138 $ response = $ r ;
@@ -177,7 +177,7 @@ public function testSendAsyncRequestWithOutcome($uriAndOutcome, $protocolVersion
177177 $ response = $ r ;
178178 });
179179
180- $ this ->assertInstanceOf ('Http\Client \Promise ' , $ promise );
180+ $ this ->assertInstanceOf ('Http\Promise \Promise ' , $ promise );
181181 $ promise ->wait ();
182182 $ this ->assertResponse (
183183 $ response ,
@@ -186,4 +186,3 @@ public function testSendAsyncRequestWithOutcome($uriAndOutcome, $protocolVersion
186186 $ this ->assertRequest ($ method , $ headers , $ body , $ protocolVersion );
187187 }
188188}
189-
0 commit comments