mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update expected ID value
This commit is contained in:
parent
8f31352039
commit
dbf64399b8
@ -31,7 +31,7 @@ class GridFieldSortableHeaderTest extends SapphireTest {
|
|||||||
// Check that the output shows name and hat as sortable fields, but not city
|
// Check that the output shows name and hat as sortable fields, but not city
|
||||||
$this->assertContains('<span class="non-sortable">City</span>', $htmlFragment['header']);
|
$this->assertContains('<span class="non-sortable">City</span>', $htmlFragment['header']);
|
||||||
$this->assertContains('value="Name" class="action ss-gridfield-sort" id="action_SetOrderName"', $htmlFragment['header']);
|
$this->assertContains('value="Name" class="action ss-gridfield-sort" id="action_SetOrderName"', $htmlFragment['header']);
|
||||||
$this->assertContains('value="Cheerleader Hat" class="action ss-gridfield-sort" id="action_SetOrderCheerleader.Hat.Colour"', $htmlFragment['header']);
|
$this->assertContains('value="Cheerleader Hat" class="action ss-gridfield-sort" id="action_SetOrderCheerleader-Hat-Colour"', $htmlFragment['header']);
|
||||||
|
|
||||||
// Check inverse of above
|
// Check inverse of above
|
||||||
$this->assertNotContains('value="City" class="action ss-gridfield-sort" id="action_SetOrderCity"', $htmlFragment['header']);
|
$this->assertNotContains('value="City" class="action ss-gridfield-sort" id="action_SetOrderCity"', $htmlFragment['header']);
|
||||||
@ -143,4 +143,4 @@ class GridFieldSortableHeaderTest_CheerleaderHat extends DataObject implements T
|
|||||||
'Cheerleader' => 'GridFieldSortableHeaderTest_Cheerleader'
|
'Cheerleader' => 'GridFieldSortableHeaderTest_Cheerleader'
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user