Commit 29ac37dc authored by Jens Segers's avatar Jens Segers

Adding sleep to touch test

parent 69517eec
...@@ -167,6 +167,8 @@ class ModelTest extends PHPUnit_Framework_TestCase { ...@@ -167,6 +167,8 @@ class ModelTest extends PHPUnit_Framework_TestCase {
$old = $user->updated_at; $old = $user->updated_at;
sleep(1);
$user->touch(); $user->touch();
$check = User::find($user->_id); $check = User::find($user->_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment