aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Helpers/ResponseAssertions.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-11-18 19:29:37 +0800
committercrupest <crupest@outlook.com>2019-11-18 19:29:37 +0800
commit06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f (patch)
tree047960f05911f7c841223f7b6528fe30b8e52088 /Timeline.Tests/Helpers/ResponseAssertions.cs
parent59c10650fc36e8c79c1def088240fd90a5151250 (diff)
downloadtimeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.tar.gz
timeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.tar.bz2
timeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.zip
Write tests and fix bugs found via tests.
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);
}
}