aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Helpers/ResponseAssertions.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-11-20 18:21:17 +0800
committerGitHub <noreply@github.com>2019-11-20 18:21:17 +0800
commitae5bb5cbef2aec94673e26712d7937fca3996f5b (patch)
tree788b8acdf1141c757cb3226d3cd5f64594386b8f /Timeline.Tests/Helpers/ResponseAssertions.cs
parent37a2e6340ab20de1f9e847d795c0cbec9846de97 (diff)
parentca87f6781a5b0e80989a66be338a699846c40f8d (diff)
downloadtimeline-ae5bb5cbef2aec94673e26712d7937fca3996f5b.tar.gz
timeline-ae5bb5cbef2aec94673e26712d7937fca3996f5b.tar.bz2
timeline-ae5bb5cbef2aec94673e26712d7937fca3996f5b.zip
Merge pull request #54 from crupest/timeline
Add core feature Timeline (currently only personal timeline)
Diffstat (limited to 'Timeline.Tests/Helpers/ResponseAssertions.cs')
-rw-r--r--Timeline.Tests/Helpers/ResponseAssertions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline.Tests/Helpers/ResponseAssertions.cs b/Timeline.Tests/Helpers/ResponseAssertions.cs
index 0e6f215b..6d764c68 100644
--- a/Timeline.Tests/Helpers/ResponseAssertions.cs
+++ b/Timeline.Tests/Helpers/ResponseAssertions.cs
@@ -88,7 +88,7 @@ namespace Timeline.Tests.Helpers
return new AndWhichConstraint<HttpResponseMessageAssertions, T>(this, null);
}
- var result = JsonConvert.DeserializeObject<T>(body);
+ var result = JsonConvert.DeserializeObject<T>(body); // TODO! catch and throw on bad format
return new AndWhichConstraint<HttpResponseMessageAssertions, T>(this, result);
}
}