test auth contracts

This commit is contained in:
Yisroel Baum 2026-08-02 20:53:15 +03:00
parent 3da9c586c3
commit b3266b38c8
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
15 changed files with 457 additions and 165 deletions

View file

@ -16,6 +16,7 @@ class SessionTest extends TestCase
$user = new User(
id: 7,
email: new EmailAddress('user@example.com'),
passwordHash: 'hashed-password',
);
$createdAt = $this->utc('2026-07-31T12:00:00');
$expiresAt = $this->utc('2026-08-07T12:00:00');
@ -40,6 +41,7 @@ class SessionTest extends TestCase
user: new User(
id: 7,
email: new EmailAddress('user@example.com'),
passwordHash: 'hashed-password',
),
createdAt: $this->utc('2026-07-31T12:00:00'),
expiresAt: $expiresAt,