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

Commit

Permalink
Mark test skipped as CardSpace has been discontinued by MS in 2011 an…
Browse files Browse the repository at this point in the history
…d SimpleXML implementation has changed in PHP 5.4
  • Loading branch information
OndraM committed Oct 17, 2013
1 parent fe0167d commit 5cc9029
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Zend/InfoCard/AssertionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public static function main()

public function setUp()
{
if (version_compare(PHP_VERSION, '5.4', '>=')) {
$this->markTestSkipped('SimpleXML implementation changed and CardSpace technology is discontinued');
}

$this->tokenDocument = dirname(__FILE__) . '/_files/signedToken.xml';
$this->sslPubKey = dirname(__FILE__) . '/_files/ssl_pub.cert';
$this->sslPrvKey = dirname(__FILE__) . '/_files/ssl_private.cert';
Expand Down
7 changes: 7 additions & 0 deletions tests/Zend/InfoCard/CipherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
class Zend_InfoCard_CipherTest extends PHPUnit_Framework_TestCase
{

public function setUp()
{
if (version_compare(PHP_VERSION, '5.4', '>=')) {
$this->markTestSkipped('SimpleXML implementation changed and CardSpace technology is discontinued');
}
}

public function testPkiPadding()
{
if (!extension_loaded('openssl')) {
Expand Down
4 changes: 4 additions & 0 deletions tests/Zend/InfoCard/ProcessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public static function main()

public function setUp()
{
if (version_compare(PHP_VERSION, '5.4', '>=')) {
$this->markTestSkipped('SimpleXML implementation changed and CardSpace technology is discontinued');
}

$this->tokenDocument = dirname(__FILE__) . '/_files/encryptedtoken.xml';
$this->sslPubKey = dirname(__FILE__) . '/_files/ssl_pub.cert';
$this->sslPrvKey = dirname(__FILE__) . '/_files/ssl_private.cert';
Expand Down
4 changes: 4 additions & 0 deletions tests/Zend/InfoCard/XmlParsingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ public static function main()

public function setUp()
{
if (version_compare(PHP_VERSION, '5.4', '>=')) {
$this->markTestSkipped('SimpleXML implementation changed and CardSpace technology is discontinued');
}

$this->tokenDocument = dirname(__FILE__) . '/_files/encryptedtoken.xml';
$this->tokenDocument2 = dirname(__FILE__) . '/_files/encryptedtoken2.xml';
$this->loadXmlDocument();
Expand Down

0 comments on commit 5cc9029

Please # to comment.