Fixing test for sqlite

This commit is contained in:
José Lorenzo Rodríguez 2010-12-02 00:30:21 -04:30
parent cdc4cb9e1e
commit 32af53ab82

View file

@ -223,7 +223,7 @@ class SchemaShellTest extends CakeTestCase {
$this->file = new File(TMP . 'tests' . DS . 'i18n.sql');
$contents = $this->file->read();
$this->assertPattern('/DROP TABLE/', $contents);
$this->assertPattern('/CREATE TABLE `i18n`/', $contents);
$this->assertPattern('/CREATE TABLE.*?i18n/', $contents);
$this->assertPattern('/id/', $contents);
$this->assertPattern('/model/', $contents);
$this->assertPattern('/field/', $contents);