fixes coding style
This commit is contained in:
parent
20fb8270dc
commit
4f6c15099a
@ -139,12 +139,10 @@ class ValueObjectsTest extends \Doctrine\Tests\OrmFunctionalTestCase
|
||||
$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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user