diff options
author | crupest <crupest@outlook.com> | 2020-03-11 23:11:58 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-11 23:11:58 +0800 |
commit | 5a90de954ee2d975cd038438495dfaa5a8d9d6d7 (patch) | |
tree | a5070c640db1000193b07af2d6ba93bc7dca5914 /Timeline.Tests/IntegratedTests/TimelineTest.cs | |
parent | 6fe319d438d32e6d91446e96c07bad19f33b5b03 (diff) | |
download | timeline-5a90de954ee2d975cd038438495dfaa5a8d9d6d7.tar.gz timeline-5a90de954ee2d975cd038438495dfaa5a8d9d6d7.tar.bz2 timeline-5a90de954ee2d975cd038438495dfaa5a8d9d6d7.zip |
Make all integrated tests async.
Diffstat (limited to 'Timeline.Tests/IntegratedTests/TimelineTest.cs')
-rw-r--r-- | Timeline.Tests/IntegratedTests/TimelineTest.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Timeline.Tests/IntegratedTests/TimelineTest.cs b/Timeline.Tests/IntegratedTests/TimelineTest.cs index 8801a3ef..69a04003 100644 --- a/Timeline.Tests/IntegratedTests/TimelineTest.cs +++ b/Timeline.Tests/IntegratedTests/TimelineTest.cs @@ -43,7 +43,11 @@ namespace Timeline.Tests.IntegratedTests public TimelineTest(WebApplicationFactory<Startup> factory)
: base(factory, 3)
{
- CreateTestTimelines().Wait();
+ }
+
+ protected override async Task OnInitializeAsync()
+ {
+ await CreateTestTimelines();
}
private List<TimelineInfo> _testTimelines;
|