diff --git a/tests/DetectorTest.php b/tests/DetectorTest.php index 3d185bb..a5a68b2 100644 --- a/tests/DetectorTest.php +++ b/tests/DetectorTest.php @@ -39,7 +39,7 @@ public function testDuplicateUniqueKeyViolated(): void public function testDuplicateUniqueIndexViolated(): void { $this->pdo->exec("CREATE TABLE users(id INTEGER PRIMARY KEY, name VARCHAR(255) NOT NULL)"); - $this->pdo->exec('CREATE UNIQUE INDEX users_name_unique on users(name)'); + $this->pdo->exec('CREATE UNIQUE INDEX users_name_unique ON users(name)'); $this->pdo->exec("INSERT INTO users(id, name) VALUES(1, 'example')"); try {