Fixing test for PostgreSQL

This commit is contained in:
Sean Harvey 2013-05-06 23:07:16 +12:00
parent a6990394cc
commit cf1a1cb6dd

View File

@ -59,15 +59,18 @@ class FileSubsitesTest extends BaseSubsiteTest {
$file = new Folder(); $file = new Folder();
$source = $file->getCMSFields()->dataFieldByName('SubsiteID')->getSource();
asort($source);
$this->assertEquals(array( $this->assertEquals(array(
'Main site', 'Main site',
'Template',
'Subsite1 Template', 'Subsite1 Template',
'Subsite2 Template', 'Subsite2 Template',
'Template',
'Test 1', 'Test 1',
'Test 2', 'Test 2',
'Test 3' 'Test 3'
), $file->getCMSFields()->dataFieldByName('SubsiteID')->getSource()); ), $source);
} }
} }