Browse Source

Add assert to clarify what happened.

I was a tiny bit confused as to what the expected outcome was. This
additional assertion made it clearer to me.
Mark Story 11 years ago
parent
commit
5dfed19541
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/TestCase/ORM/MarshallerTest.php

+ 2 - 0
tests/TestCase/ORM/MarshallerTest.php

@@ -1033,6 +1033,8 @@ class MarshallerTest extends TestCase {
 		$this->assertNotSame($entities[0], $result[0]);
 		$this->assertSame($entities[1], $result[0]);
 		$this->assertEquals('Changed 2', $result[0]->comment);
+
+		$this->assertEquals('Comment 1', $result[1]->comment);
 	}
 
 /**