Skip to content
Snippets Groups Projects
Commit 1681613b authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by Matt Schwager
Browse files

Fix PHP 5.3 syntax issue.

Accessing a key in an array is not allowed when the array is not a variable but a value returned by a function.
parent 8e39cd49
No related branches found
No related tags found
No related merge requests found
...@@ -532,7 +532,8 @@ PHP; ...@@ -532,7 +532,8 @@ PHP;
'test' 'test'
); );
$res = Crypto::loadPublicKey($config)['certData']; $pubkey = Crypto::loadPublicKey($config);
$res = $pubkey['certData'];
$expected = $x509certificate; $expected = $x509certificate;
$this->assertEquals($expected, $res); $this->assertEquals($expected, $res);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment