Fixed QueryBuilderTest

This commit is contained in:
SilverFire - Dmitry Naumenko
2016-12-17 22:08:01 +02:00
parent 40143239b2
commit df733d1bbe
2 changed files with 4 additions and 0 deletions

View File

@@ -128,5 +128,7 @@ class QueryBuilderTest extends \yiiunit\framework\db\QueryBuilderTest
$data['escape-danger-chars']['expected'] = "INSERT INTO \"customer\" (\"address\") VALUES ('SQL-danger chars are escaped: ''); --')";
$data['bool-false, bool2-null']['expected'] = 'INSERT INTO "type" ("bool_col", "bool_col2") VALUES (FALSE, NULL)';
$data['bool-false, time-now()']['expected'] = "INSERT INTO {{%type}} ({{%type}}.[[bool_col]], [[time]]) VALUES (FALSE, now())";
return $data;
}
}