aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-01-31 21:57:09 +0800
committercrupest <crupest@outlook.com>2020-01-31 21:57:09 +0800
commitb892622e7ffdf4220f6631ec58f7a6692881dd35 (patch)
tree9039ebf7eb7a21d2e57bbe928e43bf39a42473b1 /Timeline.Tests/IntegratedTests/IntegratedTestBase.cs
parente6d8183f6e5c9dec848fefa007b0e3ab428bbffa (diff)
downloadtimeline-b892622e7ffdf4220f6631ec58f7a6692881dd35.tar.gz
timeline-b892622e7ffdf4220f6631ec58f7a6692881dd35.tar.bz2
timeline-b892622e7ffdf4220f6631ec58f7a6692881dd35.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.cs3
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; }