Unverified Commit a4d7acdf authored by Luís Cobucci's avatar Luís Cobucci Committed by GitHub

Merge pull request #2927 from gabriel-caruso/refactoring-tests

Refactoring tests
parents 954ce2e8 b42544c8
...@@ -22,9 +22,9 @@ class SqliteSchemaManagerTest extends SchemaManagerFunctionalTestCase ...@@ -22,9 +22,9 @@ class SqliteSchemaManagerTest extends SchemaManagerFunctionalTestCase
$path = dirname(__FILE__).'/test_create_and_drop_sqlite_database.sqlite'; $path = dirname(__FILE__).'/test_create_and_drop_sqlite_database.sqlite';
$this->_sm->createDatabase($path); $this->_sm->createDatabase($path);
self::assertEquals(true, file_exists($path)); self::assertFileExists($path);
$this->_sm->dropDatabase($path); $this->_sm->dropDatabase($path);
self::assertEquals(false, file_exists($path)); self::assertFileNotExists($path);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment