mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Replaced deprecated DataObjectSet use with ArrayLists in SSViewerTest
This commit is contained in:
parent
91f4ba15f1
commit
156d2226fc
@ -140,7 +140,7 @@ SS
|
|||||||
function testCurrentScopeLoopWith() {
|
function testCurrentScopeLoopWith() {
|
||||||
// Data to run the loop tests on - one sequence of three items, each with a subitem
|
// Data to run the loop tests on - one sequence of three items, each with a subitem
|
||||||
$data = new ArrayData(array(
|
$data = new ArrayData(array(
|
||||||
'Foo' => new DataObjectSet(array(
|
'Foo' => new ArrayList(array(
|
||||||
'Subocean' => new ArrayData(array(
|
'Subocean' => new ArrayData(array(
|
||||||
'Name' => 'Higher'
|
'Name' => 'Higher'
|
||||||
)),
|
)),
|
||||||
@ -514,7 +514,7 @@ after')
|
|||||||
|
|
||||||
function testSSViewerBasicIteratorSupport() {
|
function testSSViewerBasicIteratorSupport() {
|
||||||
$data = new ArrayData(array(
|
$data = new ArrayData(array(
|
||||||
'Set' => new DataObjectSet(array(
|
'Set' => new ArrayList(array(
|
||||||
new SSViewerTest_Page("1"),
|
new SSViewerTest_Page("1"),
|
||||||
new SSViewerTest_Page("2"),
|
new SSViewerTest_Page("2"),
|
||||||
new SSViewerTest_Page("3"),
|
new SSViewerTest_Page("3"),
|
||||||
|
Loading…
Reference in New Issue
Block a user