mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Adapts the tests and fixtures to the refactored domain and persistence layers
This commit is contained in:
1 parent
e6f0c63feb
commit
ef913f5c9e
99 files changed
+612
-171
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Domain.Common.Models.Core;
|
||||
using Lumina.Domain.Common.Primitives;
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
#endregion
|
||||
@@ -109,11 +110,11 @@ public class EntityTests
|
||||
|
||||
// Act
|
||||
entity.CreatedOnUtc = createdOnUtc;
|
||||
entity.UpdatedOnUtc = updatedOnUtc;
|
||||
entity.UpdatedOnUtc = Optional<DateTime>.Some(updatedOnUtc);
|
||||
|
||||
// Assert
|
||||
Assert.Equal(createdOnUtc, entity.CreatedOnUtc);
|
||||
Assert.Equal(updatedOnUtc, entity.UpdatedOnUtc);
|
||||
Assert.Equal(Optional<DateTime>.Some(updatedOnUtc), entity.UpdatedOnUtc);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user