Browse files

Merge pull request #2 from oparadis/datefix

Fix runtime backend test
  • Loading branch information...
2 parents 05d4fa9 + 793bff0 commit 2c5d584fc772eef667039edd6159639ad43b71f2 @rande rande committed Apr 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Tests/Backend/RuntimeBackendTest.php
View
2 Tests/Backend/RuntimeBackendTest.php
@@ -28,7 +28,7 @@ public function testCreateAndPublish()
$this->assertInstanceOf("Sonata\\NotificationBundle\\Model\\MessageInterface", $message);
$this->assertEquals(MessageInterface::STATE_DONE, $message->getState());
- $this->assertNull($message->getCreatedAt());
+ $this->assertNotNull($message->getCreatedAt());
$this->assertEquals('foo', $message->getType());
$this->assertEquals(array('message' => 'salut'), $message->getBody());
}

0 comments on commit 2c5d584

Please sign in to comment.