Commit graph

10 commits

Author SHA1 Message Date
8eb0f2366b
remove missed default value 2026-04-26 20:43:27 +03:00
cd40483cd4
remove default values from user constructors
Forcing every call site to be explicit about admin status and
password eliminates a class of bugs where an unintended
isAdmin=false or empty passwordHash could silently slip through.
The CreateUserTest case that asserted the isAdmin default is
dropped since the default no longer exists.
2026-04-26 10:46:07 +03:00
f95adddaaf
fix code style in test files 2026-04-26 10:45:57 +03:00
13da7c311a
return utc from clock 2026-04-26 10:32:08 +03:00
2fe41a5fe7
no need to test concrete implementations 2026-04-26 10:23:57 +03:00
a65c9259fa
dont cast email to string, use new value method 2026-04-26 10:19:38 +03:00
40649ded8e
test admin middleware 2026-04-24 13:26:20 +03:00
cd2168c822
test auth middleware 2026-04-24 13:25:17 +03:00
2a281386a5
test create session 2026-04-24 13:24:01 +03:00
c2ade8a601
test fake session repository 2026-04-24 13:21:51 +03:00