Commit 01c4e0a6 authored by Jens Segers's avatar Jens Segers

Fix test

parent 52533032
...@@ -339,7 +339,7 @@ class ModelTest extends PHPUnit_Framework_TestCase { ...@@ -339,7 +339,7 @@ class ModelTest extends PHPUnit_Framework_TestCase {
$result = User::where('_id', $user->_id)->push('tags', 'tag1'); $result = User::where('_id', $user->_id)->push('tags', 'tag1');
$user = User::where('_id', $user->_id)->first(); $user = User::where('_id', $user->_id)->first();
#$this->assertTrue(is_int($result)); $this->assertTrue(is_int($result));
$this->assertTrue(is_array($user->tags)); $this->assertTrue(is_array($user->tags));
$this->assertEquals(1, count($user->tags)); $this->assertEquals(1, count($user->tags));
} }
......
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