From be012321df815336debaaee4a6352a6592ea0f15 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Mon, 7 Oct 2019 20:56:30 +0200
Subject: [PATCH] Fix unit test

---
 tests/lib/SimpleSAML/Utils/CryptoTest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/lib/SimpleSAML/Utils/CryptoTest.php b/tests/lib/SimpleSAML/Utils/CryptoTest.php
index 95887beba..ee5e01148 100644
--- a/tests/lib/SimpleSAML/Utils/CryptoTest.php
+++ b/tests/lib/SimpleSAML/Utils/CryptoTest.php
@@ -391,13 +391,13 @@ PHP;
     {
         $filename = $this->certdir . DIRECTORY_SEPARATOR . 'key';
         $data = 'data';
-        $config = new Configuration(['privatekey' => $filename, 'privatekey_pass' => null], 'test');
+        $config = new Configuration(['privatekey' => $filename], 'test');
         $full_path = true;
 
         file_put_contents($filename, $data);
 
         $res = Crypto::loadPrivateKey($config, false, '', $full_path);
-        $expected = ['PEM' => $data];
+        $expected = ['PEM' => $data, 'password' => null];
 
         $this->assertEquals($expected, $res);
     }
-- 
GitLab