Skip to content

Commit

Permalink
DDC-920 - Fix bug in DetachedEntityTest that occours with pre-persist…
Browse files Browse the repository at this point in the history
… generators (Postgresql, Oracle). Didnt came up when testing against Sqlite.
  • Loading branch information
beberlei committed Dec 12, 2010
1 parent 3c0f92f commit 6c26af0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Doctrine/Tests/ORM/Functional/DetachedEntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ public function testDetachManagedUnpersistedEntity()

$this->_em->flush();

$this->assertNull($user->id);
$this->assertFalse($this->_em->contains($user));
$this->assertFalse($this->_em->getUnitOfWork()->isInIdentityMap($user));
}
}

0 comments on commit 6c26af0

Please sign in to comment.