Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 7f8bb55

Browse files
author
tkm
committed
Fix dirname calls for PHP 5.6
1 parent 996c016 commit 7f8bb55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Developer/Test/TestUtils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ public static function callPrivateStatic($className, $functionName, $args) {
2020
}
2121

2222
public static function getTestEncryptionCertificate() {
23-
return EncryptionUtils::loadEncryptionCertificate(dirname(__DIR__, 3).'/resources/Certificates/test_certificate-2048.pem');
23+
return EncryptionUtils::loadEncryptionCertificate(dirname(dirname(dirname(__DIR__))).'/resources/Certificates/test_certificate-2048.pem');
2424
}
2525

2626
public static function getTestInvalidEncryptionCertificate() {
2727
return "not a certificate!";
2828
}
2929

3030
public static function getTestDecryptionKey() {
31-
return EncryptionUtils::loadDecryptionKey(dirname(__DIR__, 3).'/resources/Keys/Pkcs8/test_key_pkcs8-2048.der');
31+
return EncryptionUtils::loadDecryptionKey(dirname(dirname(dirname(__DIR__))).'/resources/Keys/Pkcs8/test_key_pkcs8-2048.der');
3232
}
3333

3434
public static function getTestFieldLevelEncryptionConfigBuilder() {

0 commit comments

Comments
 (0)