Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: Replaced deprecated DataObjectSet use with ArrayLists in SSVi…

…ewerTest
  • Loading branch information...
commit 156d2226fcea8b75068ab53106ae008cdc8bce8a 1 parent 91f4ba1
Hamish Friedlander hafriedlander authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/view/SSViewerTest.php
4 tests/view/SSViewerTest.php
View
@@ -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"),
Please sign in to comment.
Something went wrong with that request. Please try again.