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/Bookmark2TagTest.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/Bookmark2TagTest.php')
-rw-r--r-- | tests/Bookmark2TagTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Bookmark2TagTest.php b/tests/Bookmark2TagTest.php index e6aaf1d..1823c60 100644 --- a/tests/Bookmark2TagTest.php +++ b/tests/Bookmark2TagTest.php @@ -120,7 +120,7 @@ class Bookmark2TagTest extends TestBase $this->b2ts->attachTags($bid, array('foo', 'bar', 'fuu')); $tags = $this->b2ts->getTagsForBookmark($bid); - $this->assertType('array', $tags); + $this->assertInternalType('array', $tags); $this->assertContains('foo', $tags); $this->assertContains('bar', $tags); $this->assertContains('fuu', $tags); @@ -141,10 +141,10 @@ class Bookmark2TagTest extends TestBase $alltags = $this->b2ts->getTagsForBookmarks( array($bid1, $bid2) ); - $this->assertType('array', $alltags); + $this->assertInternalType('array', $alltags); $this->assertEquals(2, count($alltags)); - $this->assertType('array', $alltags[$bid1]); - $this->assertType('array', $alltags[$bid2]); + $this->assertInternalType('array', $alltags[$bid1]); + $this->assertInternalType('array', $alltags[$bid2]); $this->assertEquals(0, count($alltags[$bid1])); $this->assertEquals(0, count($alltags[$bid2])); } @@ -179,9 +179,9 @@ class Bookmark2TagTest extends TestBase $alltags = $this->b2ts->getTagsForBookmarks( array($bid1, $bid2, $bid3, $bid4) ); - $this->assertType('array', $alltags); + $this->assertInternalType('array', $alltags); foreach ($alltags as $bid => $btags) { - $this->assertType('array', $btags); + $this->assertInternalType('array', $btags); if ($bid == $bid1) { $this->assertEquals(3, count($btags)); $this->assertContains('foo', $btags); |