diff --git a/tests/page_tokens.test b/tests/page_tokens.test index 1a60df7..eca1aaf 100644 --- a/tests/page_tokens.test +++ b/tests/page_tokens.test @@ -41,7 +41,7 @@ public function testSetPageToken() { $tokens = ctools_set_page_token(); $this->assertTrue(is_array($tokens) && count($tokens) === 1, 'Page tokens no longer empty.'); - $this->assertEqual($tokens['id'], ['variable', 'test'], 'Page token has correct value.'); + $this->assertEqual($tokens['id'], array('variable', 'test'), 'Page token has correct value.'); } /** @@ -52,7 +52,7 @@ public function testSetVariableToken() { $tokens = ctools_set_page_token(); $this->assertTrue(is_array($tokens) && count($tokens) === 1, 'Page tokens no longer empty'); - $this->assertEqual($tokens[$string], ['variable', 'title'], 'Page tokens no longer empty'); + $this->assertEqual($tokens[$string], array('variable', 'title'), 'Page tokens no longer empty'); } /**