Permalink
Browse files

BUGFIX: Replaced deprecated DataObjectSet use with ArrayLists in SSVi…

…ewerTest
  • Loading branch information...
1 parent 91f4ba1 commit 156d2226fcea8b75068ab53106ae008cdc8bce8a Hamish Friedlander committed Feb 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/view/SSViewerTest.php
View
4 tests/view/SSViewerTest.php
@@ -140,7 +140,7 @@ function testLocalFunctionsTakePriorityOverGlobals() {
function testCurrentScopeLoopWith() {
// Data to run the loop tests on - one sequence of three items, each with a subitem
$data = new ArrayData(array(
- 'Foo' => new DataObjectSet(array(
+ 'Foo' => new ArrayList(array(
'Subocean' => new ArrayData(array(
'Name' => 'Higher'
)),
@@ -514,7 +514,7 @@ function testCastingHelpers() {
function testSSViewerBasicIteratorSupport() {
$data = new ArrayData(array(
- 'Set' => new DataObjectSet(array(
+ 'Set' => new ArrayList(array(
new SSViewerTest_Page("1"),
new SSViewerTest_Page("2"),
new SSViewerTest_Page("3"),

0 comments on commit 156d222

Please sign in to comment.