Skip to content

Commit

Permalink
add test to verify changing version comment
Browse files Browse the repository at this point in the history
  • Loading branch information
havvg committed Nov 26, 2012
1 parent 0199fac commit d7a843c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,14 @@ public function testVersionComment()

$this->assertEquals(2, $o->getVersion());
$this->assertNull($o->getVersionComment());

$o->reload();
$o->setBar(456);
$o->setVersionComment('It is just fine.');
$o->save();

$this->assertEquals(3, $o->getVersion());
$this->assertEquals('It is just fine.', $o->getVersionComment());
}

public function testToVersionWorksWithComments()
Expand Down

0 comments on commit d7a843c

Please sign in to comment.