Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 73480b2

Browse files
committed
Skip Zend_Service_DeveloperGarden_OfflineSecurityTokenServer typehinting tests
1 parent d8c2145 commit 73480b2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Zend/Service/DeveloperGarden/OfflineSecurityTokenServerTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ public function testGetTokenFromCache()
164164

165165
public function testSetTokenToCache1stParamException()
166166
{
167+
if (version_compare(phpversion(), '7', '>=')) {
168+
$this->markTestSkipped('Invalid typehinting is PHP Fatal error in PHP7+');
169+
}
170+
167171
try {
168172
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache::setTokenToCache(
169173
'NotExisting',
@@ -176,6 +180,10 @@ public function testSetTokenToCache1stParamException()
176180

177181
public function testSetTokenToCache2ndParamException()
178182
{
183+
if (version_compare(phpversion(), '7', '>=')) {
184+
$this->markTestSkipped('Invalid typehinting is PHP Fatal error in PHP7+');
185+
}
186+
179187
try {
180188
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache::setTokenToCache(
181189
'securityToken',

0 commit comments

Comments
 (0)