update fake token generator to take a preset number of tokens
This commit is contained in:
parent
414679f15b
commit
56b528999e
2 changed files with 18 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ class CreateSessionTest extends TestCase
|
|||
protected function setUp(): void
|
||||
{
|
||||
$this->sessionRepo = new FakeSessionRepository();
|
||||
$this->tokenGenerator = new FakeTokenGenerator();
|
||||
$this->tokenGenerator = new FakeTokenGenerator(['fake-token-123']);
|
||||
$this->clock = new FakeClock(
|
||||
new DateTimeImmutable('2026-05-18 12:00:00')
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue