aboutsummaryrefslogtreecommitdiff
path: root/tests/UserTest.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-02-18 08:01:18 +0100
committerChristian Weiske <cweiske@cweiske.de>2011-02-18 08:01:18 +0100
commit4cc46f268676d8df88ce6003df2a7bc9249fe7fb (patch)
treea765284dbfd69783e90082ed97ae1c5c092e7261 /tests/UserTest.php
parent0dd5540bfbad7cd75a1eecd96a245aa512356338 (diff)
downloadsemanticscuttle-4cc46f268676d8df88ce6003df2a7bc9249fe7fb.tar.gz
semanticscuttle-4cc46f268676d8df88ce6003df2a7bc9249fe7fb.tar.bz2
get rid of phpunits warnings about deprecated assertType usages
Diffstat (limited to 'tests/UserTest.php')
-rw-r--r--tests/UserTest.php4
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));
}