Skip to content

Commit

Permalink
Disable date-based tests on phantomjs due to its date bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Jun 26, 2015
1 parent 0f336c0 commit 3eb3b59
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nodejs/test/pkcs7.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,13 @@ function Tests(ASSERT, PKCS7, PKI, AES, DES, UTIL) {
ASSERT.equal(pem, _pem.signedDataNoAttrs);
});

if(typeof define === 'function') {
// return here for phantomjs; it has date serialization and timezone
// bugs that prevent the following tests from running properly
// see: https://github.com/ariya/phantomjs/issues/11712
return;
}

it('should create PKCS#7 SignedData with content-type, message-digest, ' +
'and signing-time attributes using UTCTime', function() {
// verify with:
Expand Down

0 comments on commit 3eb3b59

Please sign in to comment.