diff --git a/tests/cases/REST/Fever/TestAPI.php b/tests/cases/REST/Fever/TestAPI.php index 89254bfd..08d2f89e 100644 --- a/tests/cases/REST/Fever/TestAPI.php +++ b/tests/cases/REST/Fever/TestAPI.php @@ -110,6 +110,14 @@ class TestAPI extends \JKingWeb\Arsse\Test\AbstractTest { [false, false, null, [], ['api' => null, 'api_key' => "validToken"], $failure], [true, true, null, [], ['api' => null, 'api_key' => "validToken"], $denied], [true, false, null, [], ['api' => null, 'api_key' => "validToken"], $denied], + [false, true, "", [], ['api' => null, 'api_key' => "validToken"], $denied], + [false, false, "", [], ['api' => null, 'api_key' => "validToken"], $denied], + [true, true, "", [], ['api' => null, 'api_key' => "validToken"], $denied], + [true, false, "", [], ['api' => null, 'api_key' => "validToken"], $denied], + [false, true, "validUser", [], ['api' => null, 'api_key' => "validToken"], $failure], + [false, false, "validUser", [], ['api' => null, 'api_key' => "validToken"], $success], + [true, true, "validUser", [], ['api' => null, 'api_key' => "validToken"], $failure], + [true, false, "validUser", [], ['api' => null, 'api_key' => "validToken"], $success], [false, true, null, ['api_key' => "validToken"], ['api' => null], $success], [false, false, null, ['api_key' => "validToken"], ['api' => null], $success], [true, true, null, ['api_key' => "validToken"], ['api' => null], $denied],