Skip to content

Commit

Permalink
Use correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Jun 14, 2011
1 parent 8eb555d commit 8f99911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/10_Writing/SetPropertyTypesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function testCreateString()
public function testCreateValueBinary()
{
$bin = $this->node->setProperty('newBinary', 'foobar', PHPCR\PropertyType::BINARY);
$this->assertInstanceOf('PHPCR\PropertyInterface', $value);
$this->assertInstanceOf('PHPCR\PropertyInterface', $bin);
$this->assertEquals(\PHPCR\PropertyType::BINARY, $bin->getType());
$this->assertEquals('foobar', stream_get_contents($bin->getBinary()));

Expand Down

0 comments on commit 8f99911

Please sign in to comment.