Various work around the architecture
This commit is contained in:
parent
b1e134490d
commit
71576a4b1f
18 changed files with 522 additions and 358 deletions
|
|
@ -2,8 +2,8 @@
|
|||
using Insight.Database;
|
||||
using System.Data;
|
||||
using Newtonsoft.Json;
|
||||
using FluentAssertions;
|
||||
using Autofac;
|
||||
using Shouldly;
|
||||
using PlanTempus.Database.Core.ConnectionFactory;
|
||||
|
||||
namespace PlanTempus.Tests.ConfigurationSystem;
|
||||
|
|
@ -64,7 +64,7 @@ public class SetupConfigurationTests : TestFixture
|
|||
action_type = "I"
|
||||
});
|
||||
var actual = JsonConvert.SerializeObject(history) as string;
|
||||
actual.Should().Be(expected);
|
||||
actual.ShouldBe(expected);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
|
|
@ -95,7 +95,7 @@ public class SetupConfigurationTests : TestFixture
|
|||
.Single();
|
||||
|
||||
// Assert
|
||||
((DateTime)updated.modified_at).Should().BeAfter((DateTime)original.modified_at);
|
||||
((DateTime)updated.modified_at).ShouldBeGreaterThan((DateTime)original.modified_at);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
|
|
@ -134,7 +134,7 @@ public class SetupConfigurationTests : TestFixture
|
|||
action_type = "D"
|
||||
});
|
||||
var actual = JsonConvert.SerializeObject(history) as string;
|
||||
actual.Should().Be(expected);
|
||||
actual.ShouldBe(expected);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue