Skip to content

Commit

Permalink
fixes coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittjoh committed Nov 1, 2013
1 parent 20fb827 commit 4f6c150
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,10 @@ public function testDqlOnEmbeddedObjectsField()
$this->assertNull($this->_em->find(__NAMESPACE__.'\\DDC93Person', $person->id));
}

/**
* @expectedException Doctrine\ORM\Query\QueryException
* @expectedExceptionMessage no field or association named address.asdfasdf
*/
public function testDqlWithNonExistentEmbeddableField()
{
$this->setExpectedException('Doctrine\ORM\Query\QueryException', 'no field or association named address.asdfasdf');

$this->_em->createQuery("SELECT p FROM " . __NAMESPACE__ . "\\DDC93Person p WHERE p.address.asdfasdf IS NULL")
->execute();
}
Expand Down

0 comments on commit 4f6c150

Please sign in to comment.