mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Fix CLI auth test
This commit is contained in:
parent
bf3bf9589f
commit
a7fe879174
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class TestCLI extends \JKingWeb\Arsse\Test\AbstractTest {
|
|||
$fever = \Phake::mock(FeverUser::class);
|
||||
\Phake::when($fever)->authenticate->thenReturn(false);
|
||||
\Phake::when($fever)->authenticate("john.doe@example.com", "ashalla")->thenReturn(true);
|
||||
\Phake::when($fever)->authenticate("jane.doe@example.com", "thx1388")->thenReturn(true);
|
||||
\Phake::when($fever)->authenticate("jane.doe@example.com", "thx1138")->thenReturn(true);
|
||||
\Phake::when($this->cli)->getFever->thenReturn($fever);
|
||||
$this->assertConsole($this->cli, $cmd, $exitStatus, $output);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue