Adds authorization module tests

This commit is contained in:
BinaryAlley committed 2025-01-01 22:56:07 +02:00
1 parent 718e1c49cf
commit 0114ff13e8
125 files changed
+10411 -203

No files matched your search

@@ -138,8 +138,10 @@ public class BookEntityFixture
AppleBooksId = $"id{_random.Next(1, 999999)}",
ISBNs = isbn.Generate(_faker.Random.Number(1, 5)),
Ratings = rating.Generate(_faker.Random.Number(1, 5)),
Created = DateTime.UtcNow,
Updated = _faker.Random.Bool() ? DateTime.UtcNow.AddDays(-_random.Next(1, 100)) : null
CreatedOnUtc = DateTime.UtcNow,
CreatedBy = Guid.NewGuid(),
UpdatedOnUtc = _faker.Random.Bool() ? DateTime.UtcNow.AddDays(-_random.Next(1, 100)) : null,
UpdatedBy = Guid.NewGuid()
};
}
}