diff --git a/tests/TestCase/Database/Schema/PostgresSchemaTest.php b/tests/TestCase/Database/Schema/PostgresSchemaTest.php index 1923747e60e..62f285d9360 100644 --- a/tests/TestCase/Database/Schema/PostgresSchemaTest.php +++ b/tests/TestCase/Database/Schema/PostgresSchemaTest.php @@ -900,7 +900,7 @@ public function testTruncateSql() { ]); $result = $table->truncateSql($connection); $this->assertCount(1, $result); - $this->assertEquals('TRUNCATE "schema_articles" RESTART IDENTITY', $result[0]); + $this->assertEquals('TRUNCATE "schema_articles" RESTART IDENTITY CASCADE', $result[0]); } /**