Fixed single unit test failure on postgres

This commit is contained in:
Ed Chipman 2016-02-13 13:51:01 -04:00
parent 2f5cee4e36
commit f921aff29d
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class GridFieldSortableRowsAutoSortTest extends SapphireTest {
Versioned::reading_stage('Live');
//Get live instance
$obj=Versioned::get_one_by_stage('GridFieldAction_SortOrder_VPlayer', 'Live', 'ID='.$list->last()->ID);
$obj=Versioned::get_one_by_stage('GridFieldAction_SortOrder_VPlayer', 'Live', '"ID"='.$list->last()->ID);
//Insure sort ran
$this->assertEquals(3, $obj->SortOrder, 'Auto sort should have run on Versioned stage "Live"');