Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
Skip Zend_Service_DeveloperGarden_OfflineSecurityTokenServer typehint…
Browse files Browse the repository at this point in the history
…ing tests
  • Loading branch information
mhujer committed Mar 28, 2015
1 parent d8c2145 commit 73480b2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ public function testGetTokenFromCache()

public function testSetTokenToCache1stParamException()
{
if (version_compare(phpversion(), '7', '>=')) {
$this->markTestSkipped('Invalid typehinting is PHP Fatal error in PHP7+');
}

try {
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache::setTokenToCache(
'NotExisting',
Expand All @@ -176,6 +180,10 @@ public function testSetTokenToCache1stParamException()

public function testSetTokenToCache2ndParamException()
{
if (version_compare(phpversion(), '7', '>=')) {
$this->markTestSkipped('Invalid typehinting is PHP Fatal error in PHP7+');
}

try {
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache::setTokenToCache(
'securityToken',
Expand Down

0 comments on commit 73480b2

Please sign in to comment.