mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Fixing test for PostgreSQL
This commit is contained in:
parent
a6990394cc
commit
cf1a1cb6dd
@ -59,15 +59,18 @@ class FileSubsitesTest extends BaseSubsiteTest {
|
||||
|
||||
$file = new Folder();
|
||||
|
||||
$source = $file->getCMSFields()->dataFieldByName('SubsiteID')->getSource();
|
||||
asort($source);
|
||||
|
||||
$this->assertEquals(array(
|
||||
'Main site',
|
||||
'Template',
|
||||
'Subsite1 Template',
|
||||
'Subsite2 Template',
|
||||
'Template',
|
||||
'Test 1',
|
||||
'Test 2',
|
||||
'Test 3'
|
||||
), $file->getCMSFields()->dataFieldByName('SubsiteID')->getSource());
|
||||
), $source);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user