mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 04:11:10 +00:00
Adds authorization module tests
This commit is contained in:
1 parent
718e1c49cf
commit
0114ff13e8
125 files changed
+10411
-203
No files matched your search
+4
-2
@@ -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()
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user