Skip to content

Commit

Permalink
fix test for compartibility with php 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Jan 9, 2015
1 parent 1b28418 commit 7d7a793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ public function testSetStructure_NewDocument()

public function testSetStructure_StoredDocument()
{
$document = $this->collection->createDocument([
$document = $this->collection->createDocument(array(
'some' => 'field',
])->save();
))->save();

$obj = new Structure;
$obj->param = 'value';
Expand Down

0 comments on commit 7d7a793

Please sign in to comment.