diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2011-03-24 08:41:02 +0100 | 
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2011-03-24 08:41:02 +0100 | 
| commit | 3828cfe6d6bb64df763276fa2bc2c4da6ccb06dd (patch) | |
| tree | 663077721f247ceb55816f944352ac91a0cb896c /tests/ajax | |
| parent | 637e276ac7dc0e9acdbb79ed68415c1770ce7a3f (diff) | |
| download | semanticscuttle-3828cfe6d6bb64df763276fa2bc2c4da6ccb06dd.tar.gz semanticscuttle-3828cfe6d6bb64df763276fa2bc2c4da6ccb06dd.tar.bz2  | |
replace assertType with assertInternalType to please phpunit
Diffstat (limited to 'tests/ajax')
| -rw-r--r-- | tests/ajax/GetAdminLinkedTagsTest.php | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ajax/GetAdminLinkedTagsTest.php b/tests/ajax/GetAdminLinkedTagsTest.php index d8ec447..2552ea0 100644 --- a/tests/ajax/GetAdminLinkedTagsTest.php +++ b/tests/ajax/GetAdminLinkedTagsTest.php @@ -66,7 +66,7 @@ class ajax_GetAdminLinkedTagsTest extends TestBaseApi          );          $data = json_decode($res->getBody()); -        $this->assertType('array', $data); +        $this->assertInternalType('array', $data);          //same number of elements as the menu2Tags array          $this->assertEquals( @@ -106,7 +106,7 @@ class ajax_GetAdminLinkedTagsTest extends TestBaseApi          );          $data = json_decode($res->getBody()); -        $this->assertType('array', $data); +        $this->assertInternalType('array', $data);          //only one subtag          $this->assertEquals(1, count($data)); @@ -146,7 +146,7 @@ class ajax_GetAdminLinkedTagsTest extends TestBaseApi          );          $data = json_decode($res->getBody()); -        $this->assertType('array', $data); +        $this->assertInternalType('array', $data);          //we should have only one subtag now, the admin one          $this->assertEquals(1, count($data));  | 
