Fixing test for postgres, make sure the array is indexed from 0

This commit is contained in:
Sean Harvey 2013-05-06 23:24:41 +12:00
parent 6e4f22deab
commit f39ee67c4a

View File

@ -59,7 +59,7 @@ class FileSubsitesTest extends BaseSubsiteTest {
$file = new Folder(); $file = new Folder();
$source = $file->getCMSFields()->dataFieldByName('SubsiteID')->getSource(); $source = array_values($file->getCMSFields()->dataFieldByName('SubsiteID')->getSource());
asort($source); asort($source);
$this->assertEquals(array( $this->assertEquals(array(