Skip to content

Commit a335953

Browse files
committed
Update RunMigrationsCommandTest.php
1 parent 76c5f3f commit a335953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/webfiori/framework/test/cli/RunMigrationsCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function testInitializeMigrationsTable(): void {
101101
$this->assertEquals(0, $this->getExitCode());
102102

103103
// Verify table was actually created using mysqli
104-
$mysqli = new \mysqli('localhost', 'root', '123456', 'testing_db', 3306);
104+
$mysqli = new \mysqli('localhost', 'root', MYSQL_ROOT_PASSWORD, 'testing_db', 3306);
105105
$result = $mysqli->query("SHOW TABLES LIKE 'schema_changes'");
106106
$this->assertEquals(1, $result->num_rows, 'Migrations table should be created');
107107
$mysqli->close();

0 commit comments

Comments
 (0)