Changeset 4918 for trunk/tests/Orm
- Timestamp:
- 09/12/08 10:37:05 (4 months ago)
- Location:
- trunk/tests/Orm
- Files:
-
- 2 modified
-
Component/AccessTest.php (modified) (2 diffs)
-
EntityManagerTest.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/Orm/Component/AccessTest.php
r4877 r4918 97 97 /** 98 98 * @test 99 * @expectedException Doctrine_ Entity_Exception99 * @expectedException Doctrine_ORM_Exceptions_EntityException 100 100 */ 101 101 public function shouldNotBeAbleToSetNonExistantField() … … 106 106 /** 107 107 * @test 108 * @expectedException Doctrine_ Entity_Exception108 * @expectedException Doctrine_ORM_Exceptions_EntityException 109 109 */ 110 110 public function shouldNotBeAbleToSetNonExistantFieldWithOffset() -
trunk/tests/Orm/EntityManagerTest.php
r4776 r4918 15 15 $this->_em->setFlushMode('foobar'); 16 16 $this->fail("Setting invalid flushmode did not trigger exception."); 17 } catch (Doctrine_ EntityManager_Exception $expected) {}17 } catch (Doctrine_ORM_Exceptions_EntityManagerException $expected) {} 18 18 $this->_em->setFlushMode($prev); 19 19 }