@@ -1994,7 +1994,7 @@ public function testQueryThrowsForInvalidQueryParamsWithoutCreatingNewConnection
1994
1994
$ factory ->expects ($ this ->never ())->method ('createConnection ' );
1995
1995
$ loop = $ this ->getMockBuilder ('React\EventLoop\LoopInterface ' )->getMock ();
1996
1996
1997
- $ connection = new MysqlClient ('' , null , $ loop );
1997
+ $ connection = new MysqlClient ('localhost ' , null , $ loop );
1998
1998
1999
1999
$ ref = new \ReflectionProperty ($ connection , 'factory ' );
2000
2000
$ ref ->setAccessible (true );
@@ -2010,7 +2010,7 @@ public function testQueryThrowsForInvalidQueryParamsWhenConnectionIsAlreadyClose
2010
2010
$ factory ->expects ($ this ->never ())->method ('createConnection ' );
2011
2011
$ loop = $ this ->getMockBuilder ('React\EventLoop\LoopInterface ' )->getMock ();
2012
2012
2013
- $ connection = new MysqlClient ('' , null , $ loop );
2013
+ $ connection = new MysqlClient ('localhost ' , null , $ loop );
2014
2014
2015
2015
$ ref = new \ReflectionProperty ($ connection , 'factory ' );
2016
2016
$ ref ->setAccessible (true );
@@ -2046,7 +2046,7 @@ public function testQueryStreamThrowsForInvalidQueryParamsWithoutCreatingNewConn
2046
2046
$ factory ->expects ($ this ->never ())->method ('createConnection ' );
2047
2047
$ loop = $ this ->getMockBuilder ('React\EventLoop\LoopInterface ' )->getMock ();
2048
2048
2049
- $ connection = new MysqlClient ('' , null , $ loop );
2049
+ $ connection = new MysqlClient ('localhost ' , null , $ loop );
2050
2050
2051
2051
$ ref = new \ReflectionProperty ($ connection , 'factory ' );
2052
2052
$ ref ->setAccessible (true );
@@ -2062,7 +2062,7 @@ public function testQueryStreamThrowsForInvalidQueryParamsWhenConnectionIsAlread
2062
2062
$ factory ->expects ($ this ->never ())->method ('createConnection ' );
2063
2063
$ loop = $ this ->getMockBuilder ('React\EventLoop\LoopInterface ' )->getMock ();
2064
2064
2065
- $ connection = new MysqlClient ('' , null , $ loop );
2065
+ $ connection = new MysqlClient ('localhost ' , null , $ loop );
2066
2066
2067
2067
$ ref = new \ReflectionProperty ($ connection , 'factory ' );
2068
2068
$ ref ->setAccessible (true );
0 commit comments