diff --git a/tests/cases/REST/TestREST.php b/tests/cases/REST/TestREST.php index 99864348..d2fb1e90 100644 --- a/tests/cases/REST/TestREST.php +++ b/tests/cases/REST/TestREST.php @@ -100,8 +100,8 @@ class TestREST extends \JKingWeb\Arsse\Test\AbstractTest { } public function provideAuthenticationChallenges() { - self::setConf(); - $default = 'Basic realm="'.Arsse::$conf->httpRealm.'", charset="UTF-8"'; + $realm = (new \ReflectionClass(\JKingWeb\Arsse\Conf::class))->getDefaultProperties()['httpRealm']; + $default = 'Basic realm="'.$realm.'", charset="UTF-8"'; return [ [new EmptyResponse(401), new EmptyResponse(401, ['WWW-Authenticate' => $default])], [new EmptyResponse(401), new EmptyResponse(401, ['WWW-Authenticate' => 'Basic realm="OOK", charset="UTF-8"']), "OOK"],