1
0
mirror of synced 2025-02-20 06:03:15 +03:00

fixes coding style

This commit is contained in:
Johannes M. Schmitt 2013-11-01 21:47:56 +01:00
parent 20fb8270dc
commit 4f6c15099a

View File

@ -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();
}