mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Fixed single unit test failure on postgres
This commit is contained in:
parent
2f5cee4e36
commit
f921aff29d
@ -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"');
|
||||
|
Loading…
Reference in New Issue
Block a user