mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Fixing test for postgres, make sure the array is indexed from 0
This commit is contained in:
parent
6e4f22deab
commit
f39ee67c4a
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user