diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-03-20 22:15:34 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-03-20 22:15:34 +0100 |
commit | bc178983b370ed005d569d70b4629e3181acc522 (patch) | |
tree | a7d5e99d85063641415b71f1b4160b3fb85a505a /tests/UserTest.php | |
parent | 8146646a0e1c7535e62aeebab049f7b1740c86ae (diff) | |
parent | 975809a8347929c9eae9c6a8bf3beb8d92af63ef (diff) | |
download | semanticscuttle-bc178983b370ed005d569d70b4629e3181acc522.tar.gz semanticscuttle-bc178983b370ed005d569d70b4629e3181acc522.tar.bz2 |
Merge branch 'master' into jquery
Conflicts:
doc/ChangeLog
Diffstat (limited to 'tests/UserTest.php')
-rw-r--r-- | tests/UserTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/UserTest.php b/tests/UserTest.php index 6da7776..49f3730 100644 --- a/tests/UserTest.php +++ b/tests/UserTest.php @@ -143,7 +143,7 @@ class UserTest extends TestBase $uid = $this->addUser(); $users = $this->us->getObjectUsers(); $this->assertEquals(1, count($users)); - $this->assertType('SemanticScuttle_Model_User', reset($users)); + $this->assertInstanceOf('SemanticScuttle_Model_User', reset($users)); } @@ -160,7 +160,7 @@ class UserTest extends TestBase $uid3 = $this->addUser(); $users = $this->us->getObjectUsers(); $this->assertEquals(3, count($users)); - $this->assertType('SemanticScuttle_Model_User', reset($users)); + $this->assertInstanceOf('SemanticScuttle_Model_User', reset($users)); } |