aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/security
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-18 10:21:28 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-18 10:21:28 +0200
commitd07d5915c903eb09321985c4199ac370b2a81227 (patch)
treea410840b3a5e09958543d5f4e0f7a7994f3de590 /tests/lib/security
parentc89c6ed21de96be58793c0e63c39aa0897253450 (diff)
downloadnextcloud-server-d07d5915c903eb09321985c4199ac370b2a81227.tar.gz
nextcloud-server-d07d5915c903eb09321985c4199ac370b2a81227.zip
Remove unused and overflowing function
Resolves https://github.com/owncloud/core/issues/10991 failure 4
Diffstat (limited to 'tests/lib/security')
-rw-r--r--tests/lib/security/certificate.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/lib/security/certificate.php b/tests/lib/security/certificate.php
index db33dd00d99..898f583a43c 100644
--- a/tests/lib/security/certificate.php
+++ b/tests/lib/security/certificate.php
@@ -49,11 +49,6 @@ class CertificateTest extends \PHPUnit_Framework_TestCase {
$this->assertSame('Internet Widgits Pty Ltd', $this->invalidCertificate->getOrganization());
}
- function testGetSerial() {
- $this->assertSame('7F:FF:FF:FF:FF:FF:FF:FF', $this->goodCertificate->getSerial());
- $this->assertSame('7F:FF:FF:FF:FF:FF:FF:FF', $this->invalidCertificate->getSerial());
- }
-
function testGetIssueDate() {
$expected = new DateTime('2014-08-27 08:45:52 GMT');
$this->assertEquals($expected->getTimestamp(), $this->goodCertificate->getIssueDate()->getTimestamp());