aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-11-19 23:18:45 +0800
committercrupest <crupest@outlook.com>2019-11-19 23:18:45 +0800
commit0ff98dd9274485994b11d9d00f4b647a5f2d42ac (patch)
tree66e1bcfe602877e4f72ea1b68cbf33e06557c222 /Timeline.Tests/IntegratedTests/IntegratedTestBase.cs
parent0ff55237330279e5df6cd2838e4b90507d3542a6 (diff)
downloadtimeline-0ff98dd9274485994b11d9d00f4b647a5f2d42ac.tar.gz
timeline-0ff98dd9274485994b11d9d00f4b647a5f2d42ac.tar.bz2
timeline-0ff98dd9274485994b11d9d00f4b647a5f2d42ac.zip
Complete integrated tests??? Fix bugs.
Diffstat (limited to 'Timeline.Tests/IntegratedTests/IntegratedTestBase.cs')
-rw-r--r--Timeline.Tests/IntegratedTests/IntegratedTestBase.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs b/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs
index c4d72faf..2dfaf82e 100644
--- a/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs
+++ b/Timeline.Tests/IntegratedTests/IntegratedTestBase.cs
@@ -4,6 +4,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Timeline.Tests.Helpers;
+using Timeline.Tests.Mock.Data;
using Xunit;
namespace Timeline.Tests.IntegratedTests
@@ -23,5 +24,12 @@ namespace Timeline.Tests.IntegratedTests
{
TestApp.Dispose();
}
+
+ protected void CreateExtraMockUsers(int count)
+ {
+ TestApp.Database.CreateExtraMockUsers(count);
+ }
+
+ protected IReadOnlyList<MockUser> ExtraMockUsers => TestApp.Database.ExtraMockUsers;
}
}