Skip to content
Permalink
Browse files

added unlink to SchemaTest::tearDown()

  • Loading branch information...
gwoo
gwoo committed Aug 2, 2009
1 parent 42d6a6f commit d0c7397d5d4b0d5426b83bca363e0feb29c5635c
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/cases/libs/model/cake_schema.test.php
@@ -403,6 +403,7 @@ function startTest() {
* @return void
*/
function tearDown() {
@unlink(TMP . 'tests' . DS .'schema.php');
unset($this->Schema);
}
@@ -466,7 +467,6 @@ function testSchemaWrite() {
require_once( TMP . 'tests' . DS .'schema.php');
$OtherSchema = new MyOtherAppSchema();
$this->assertEqual($this->Schema->tables, $OtherSchema->tables);
}
/**

0 comments on commit d0c7397

Please sign in to comment.
You can’t perform that action at this time.