summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/utils/MWCryptHKDFTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/utils/MWCryptHKDFTest.php')
-rw-r--r--tests/phpunit/includes/utils/MWCryptHKDFTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/phpunit/includes/utils/MWCryptHKDFTest.php b/tests/phpunit/includes/utils/MWCryptHKDFTest.php
index 7e37534a..73e4c1a9 100644
--- a/tests/phpunit/includes/utils/MWCryptHKDFTest.php
+++ b/tests/phpunit/includes/utils/MWCryptHKDFTest.php
@@ -6,6 +6,12 @@
class MWCryptHKDFTest extends MediaWikiTestCase {
+ protected function setUp() {
+ parent::setUp();
+
+ $this->setMwGlobals( 'wgSecretKey', '5bf1945342e67799cb50704a7fa19ac6' );
+ }
+
/**
* Test basic usage works
*/