Skip to content

Commit 41612c1

Browse files
committed
Fix and improve tests
1 parent 6b2da52 commit 41612c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/wp-mysql-proxy/tests/WP_MySQL_Proxy_MySQLi_Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class WP_MySQL_Proxy_MySQLi_Test extends WP_MySQL_Proxy_Test {
66

77
public function setUp(): void {
88
parent::setUp();
9-
$this->mysqli = new mysqli( '127.0.0.1', 'WordPress', 'WordPress', 'WordPress', $this->port );
9+
$this->mysqli = new mysqli( '127.0.0.1', 'user', 'password', 'sqlite_database', $this->port );
1010
}
1111

1212
public function test_query(): void {

packages/wp-mysql-proxy/tests/WP_MySQL_Proxy_PDO_Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ public function setUp(): void {
99

1010
$this->pdo = new PDO(
1111
sprintf( 'mysql:host=127.0.0.1;port=%d', $this->port ),
12-
'WordPress',
13-
'WordPress'
12+
'user',
13+
'password'
1414
);
1515
}
1616

0 commit comments

Comments
 (0)