aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests/TimelineHubTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-09 19:23:01 +0800
committercrupest <crupest@outlook.com>2022-03-09 19:23:01 +0800
commit3cd0140ff4425b37b6e8dd8e8f16a54b1338c352 (patch)
tree1bdcc969976687930aab44356639702ebdafea0e /BackEnd/Timeline.Tests/IntegratedTests/TimelineHubTest.cs
parentb89ea2e72451133ca8be185de882aa848c277638 (diff)
downloadtimeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.tar.gz
timeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.tar.bz2
timeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.zip
...
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests/TimelineHubTest.cs')
-rw-r--r--BackEnd/Timeline.Tests/IntegratedTests/TimelineHubTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/TimelineHubTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/TimelineHubTest.cs
index 9b28a648..6066548c 100644
--- a/BackEnd/Timeline.Tests/IntegratedTests/TimelineHubTest.cs
+++ b/BackEnd/Timeline.Tests/IntegratedTests/TimelineHubTest.cs
@@ -22,7 +22,7 @@ namespace Timeline.Tests.IntegratedTests
options =>
{
options.HttpMessageHandlerFactory = _ => TestApp.Server.CreateHandler();
- options.AccessTokenProvider = token is null ? null : () => Task.FromResult(token);
+ options.AccessTokenProvider = token is null ? null : () => Task.FromResult<string?>(token);
}).Build();
}