mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
A few more Fever authentication tests
This commit is contained in:
parent
3b28634447
commit
fe008d4343
1 changed files with 8 additions and 0 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue