Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/MysqlClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@ public function testQueryThrowsForInvalidQueryParamsWithoutCreatingNewConnection
$factory->expects($this->never())->method('createConnection');
$loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();

$connection = new MysqlClient('', null, $loop);
$connection = new MysqlClient('localhost', null, $loop);

$ref = new \ReflectionProperty($connection, 'factory');
$ref->setAccessible(true);
Expand All @@ -2010,7 +2010,7 @@ public function testQueryThrowsForInvalidQueryParamsWhenConnectionIsAlreadyClose
$factory->expects($this->never())->method('createConnection');
$loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();

$connection = new MysqlClient('', null, $loop);
$connection = new MysqlClient('localhost', null, $loop);

$ref = new \ReflectionProperty($connection, 'factory');
$ref->setAccessible(true);
Expand Down Expand Up @@ -2046,7 +2046,7 @@ public function testQueryStreamThrowsForInvalidQueryParamsWithoutCreatingNewConn
$factory->expects($this->never())->method('createConnection');
$loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();

$connection = new MysqlClient('', null, $loop);
$connection = new MysqlClient('localhost', null, $loop);

$ref = new \ReflectionProperty($connection, 'factory');
$ref->setAccessible(true);
Expand All @@ -2062,7 +2062,7 @@ public function testQueryStreamThrowsForInvalidQueryParamsWhenConnectionIsAlread
$factory->expects($this->never())->method('createConnection');
$loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();

$connection = new MysqlClient('', null, $loop);
$connection = new MysqlClient('localhost', null, $loop);

$ref = new \ReflectionProperty($connection, 'factory');
$ref->setAccessible(true);
Expand Down