44
55use React \MySQL \Io \Connection ;
66use React \MySQL \MysqlClient ;
7- use React \MySQL \QueryResult ;
7+ use React \MySQL \MysqlResult ;
88use React \Promise \Deferred ;
99use React \Promise \Promise ;
1010use React \Promise \PromiseInterface ;
@@ -308,7 +308,7 @@ public function testQueryWillQueryUnderlyingConnectionWhenResolved()
308308
309309 public function testQueryWillResolveAndStartTimerWithDefaultIntervalWhenQueryFromUnderlyingConnectionResolves ()
310310 {
311- $ result = new QueryResult ();
311+ $ result = new MysqlResult ();
312312
313313 $ base = $ this ->getMockBuilder ('React\MySQL\Io\Connection ' )->disableOriginalConstructor ()->getMock ();
314314 $ base ->expects ($ this ->once ())->method ('query ' )->with ('SELECT 1 ' )->willReturn (\React \Promise \resolve ($ result ));
@@ -331,7 +331,7 @@ public function testQueryWillResolveAndStartTimerWithDefaultIntervalWhenQueryFro
331331
332332 public function testQueryWillResolveAndStartTimerWithIntervalFromIdleParameterWhenQueryFromUnderlyingConnectionResolves ()
333333 {
334- $ result = new QueryResult ();
334+ $ result = new MysqlResult ();
335335
336336 $ base = $ this ->getMockBuilder ('React\MySQL\Io\Connection ' )->disableOriginalConstructor ()->getMock ();
337337 $ base ->expects ($ this ->once ())->method ('query ' )->with ('SELECT 1 ' )->willReturn (\React \Promise \resolve ($ result ));
@@ -354,7 +354,7 @@ public function testQueryWillResolveAndStartTimerWithIntervalFromIdleParameterWh
354354
355355 public function testQueryWillResolveWithoutStartingTimerWhenQueryFromUnderlyingConnectionResolvesAndIdleParameterIsNegative ()
356356 {
357- $ result = new QueryResult ();
357+ $ result = new MysqlResult ();
358358
359359 $ base = $ this ->getMockBuilder ('React\MySQL\Io\Connection ' )->disableOriginalConstructor ()->getMock ();
360360 $ base ->expects ($ this ->once ())->method ('query ' )->with ('SELECT 1 ' )->willReturn (\React \Promise \resolve ($ result ));
@@ -377,7 +377,7 @@ public function testQueryWillResolveWithoutStartingTimerWhenQueryFromUnderlyingC
377377
378378 public function testQueryBeforePingWillResolveWithoutStartingTimerWhenQueryFromUnderlyingConnectionResolvesBecausePingIsStillPending ()
379379 {
380- $ result = new QueryResult ();
380+ $ result = new MysqlResult ();
381381 $ deferred = new Deferred ();
382382
383383 $ base = $ this ->getMockBuilder ('React\MySQL\Io\Connection ' )->disableOriginalConstructor ()->getMock ();
0 commit comments