diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-02-18 08:01:18 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-02-18 08:01:18 +0100 |
commit | 4cc46f268676d8df88ce6003df2a7bc9249fe7fb (patch) | |
tree | a765284dbfd69783e90082ed97ae1c5c092e7261 /tests/UserTest.php | |
parent | 0dd5540bfbad7cd75a1eecd96a245aa512356338 (diff) | |
download | semanticscuttle-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.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)); } |