diff options
author | crupest <crupest@outlook.com> | 2020-01-31 21:57:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-31 21:57:09 +0800 |
commit | 3749a642306b19c84f324b0e94c4d62d8ec60332 (patch) | |
tree | 9039ebf7eb7a21d2e57bbe928e43bf39a42473b1 /Timeline.Tests/IntegratedTests/IntegratedTestBase.cs | |
parent | a7fd42ddee50a8066a083c57b7940e4f9896dcb7 (diff) | |
download | timeline-3749a642306b19c84f324b0e94c4d62d8ec60332.tar.gz timeline-3749a642306b19c84f324b0e94c4d62d8ec60332.tar.bz2 timeline-3749a642306b19c84f324b0e94c4d62d8ec60332.zip |
Fix test bugs in user info mapper. Make create user action return created user info.
Diffstat (limited to 'Timeline.Tests/IntegratedTests/IntegratedTestBase.cs')
-rw-r--r-- | Timeline.Tests/IntegratedTests/IntegratedTestBase.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs b/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs index 59af5eab..dfde2ea5 100644 --- a/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs +++ b/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs @@ -12,13 +12,12 @@ using Xunit; namespace Timeline.Tests.IntegratedTests { - public abstract class IntegratedTestBase : IClassFixture<WebApplicationFactory<Startup>>, IDisposable { static IntegratedTestBase()
{
FluentAssertions.AssertionOptions.AssertEquivalencyUsing(options =>
- options.Excluding(m => m.RuntimeType == typeof(UserInfo) && m.SelectedMemberPath == "_links"));
+ options.Excluding(m => m.RuntimeType == typeof(UserInfoLinks)));
} protected TestApplication TestApp { get; } |