mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Fix Most Test Warnings (#4612)
* Add Collections Tests * Update CollectionRepository Implementation * Test Adding And Deleting Through Replace * Format * Fix Most Test Warnings * Format
This commit is contained in:
@ -27,6 +27,7 @@ public class SendRepositoryTests
|
||||
Assert.Equal(expirationDate, createdSend.ExpirationDate!.Value, LaxDateTimeComparer.Default);
|
||||
|
||||
var sendFromDatabase = await sendRepository.GetByIdAsync(createdSend.Id);
|
||||
Assert.NotNull(sendFromDatabase);
|
||||
Assert.Equal(expirationDate, sendFromDatabase.ExpirationDate!.Value, LaxDateTimeComparer.Default);
|
||||
Assert.Equal(SendType.Text, sendFromDatabase.Type);
|
||||
Assert.Equal(0, sendFromDatabase.AccessCount);
|
||||
|
Reference in New Issue
Block a user