Fix Api.Specs test failures: stale Timer column refs and missing test.user fixture

This commit is contained in:
Aaron Po
2026-08-20 18:46:44 -04:00
parent 0db29f431c
commit 1855041910
6 changed files with 65 additions and 14 deletions

View File

@@ -45,7 +45,7 @@ public class AuthRepositoryTests
("CreatedAt", typeof(DateTime)),
("UpdatedAt", typeof(DateTime?)),
("DateOfBirth", typeof(DateTime)),
("Timer", typeof(byte[]))
("RowVersion", typeof(byte[]))
)
.AddRow(
expectedUserId,
@@ -99,7 +99,7 @@ public class AuthRepositoryTests
("CreatedAt", typeof(DateTime)),
("UpdatedAt", typeof(DateTime?)),
("DateOfBirth", typeof(DateTime)),
("Timer", typeof(byte[]))
("RowVersion", typeof(byte[]))
)
.AddRow(
userId,
@@ -157,7 +157,7 @@ public class AuthRepositoryTests
("CreatedAt", typeof(DateTime)),
("UpdatedAt", typeof(DateTime?)),
("DateOfBirth", typeof(DateTime)),
("Timer", typeof(byte[]))
("RowVersion", typeof(byte[]))
)
.AddRow(
userId,
@@ -210,7 +210,7 @@ public class AuthRepositoryTests
("UserAccountId", typeof(Guid)),
("Hash", typeof(string)),
("CreatedAt", typeof(DateTime)),
("Timer", typeof(byte[]))
("RowVersion", typeof(byte[]))
)
.AddRow(credentialId, userId, "hashed_password_value", DateTime.UtcNow, null)
);