diff --git a/Tests/Database/OracleMySQLDatabaseTest.php b/Tests/Database/OracleMySQLDatabaseTest.php index 6cf46ad8d..37369a5d7 100644 --- a/Tests/Database/OracleMySQLDatabaseTest.php +++ b/Tests/Database/OracleMySQLDatabaseTest.php @@ -50,7 +50,7 @@ public function testGetConnection() { $obj->getConnection(); } catch (Exception $ex) { $this->assertInstanceOf(PDOException::class, $ex); - $this->assertEquals("SQLSTATE[HY000] [1045] Access denied for user 'username'@'localhost' (using password: YES)", $ex->getMessage()); + $this->assertContains("Access denied for user 'username'@'localhost' (using password: YES)", $ex->getMessage()); } }