Permalink
Browse files

Fix failing test, moving timestamp define before the save to ensure i…

…t cannot be off by a second
  • Loading branch information...
ceeram committed Nov 16, 2011
1 parent 025133d commit 3cb5188b2df9d9be5e0f97cf26466e9e4e4ce5cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Model/ModelWriteTest.php
@@ -4779,6 +4779,7 @@ public function testSaveManyValidation() {
$this->loadFixtures('Post', 'Author', 'Comment', 'Attachment');
$TestModel = new Post();
$ts = date('Y-m-d H:i:s');
$data = array(
array(
'id' => '1',
@@ -4799,7 +4800,6 @@ public function testSaveManyValidation() {
$this->assertTrue($TestModel->saveMany($data));
$result = $TestModel->find('all', array('recursive' => -1, 'order' => 'Post.id ASC'));
$ts = date('Y-m-d H:i:s');
$expected = array(
array(
'Post' => array(

0 comments on commit 3cb5188

Please sign in to comment.