mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR FIX: columns quoted properly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@86503 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
34db005f65
commit
b1ab0a5bc0
@ -79,7 +79,7 @@ class CheckboxFieldTest extends SapphireTest {
|
||||
|
||||
/* Check that IsChecked column contains a 1 */
|
||||
$this->assertEquals(
|
||||
DB::query("SELECT IsChecked FROM CheckboxFieldTest_Article")->value(),
|
||||
DB::query("SELECT \"IsChecked\" FROM \"CheckboxFieldTest_Article\"")->value(),
|
||||
1,
|
||||
'We have a 1 set in the database, because the field saved into as a 1'
|
||||
);
|
||||
@ -103,7 +103,7 @@ class CheckboxFieldTest extends SapphireTest {
|
||||
|
||||
/* Check that IsChecked column contains a 0 */
|
||||
$this->assertEquals(
|
||||
DB::query("SELECT IsChecked FROM CheckboxFieldTest_Article")->value(),
|
||||
DB::query("SELECT \"IsChecked\" FROM \"CheckboxFieldTest_Article\"")->value(),
|
||||
0,
|
||||
'We have a 0 set in the database, because the field saved into as a 0'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user