ソースを参照

Fix truncate tests for postgres.

mark_story 11 年 前
コミット
47464352c5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tests/TestCase/Database/Schema/PostgresSchemaTest.php

+ 1 - 1
tests/TestCase/Database/Schema/PostgresSchemaTest.php

@@ -900,7 +900,7 @@ SQL;
 			]);
 		$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]);
 	}
 
 /**