aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Helpers
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
commit468d7f4c416d4469375b7170beb5e388737c0970 (patch)
tree047960f05911f7c841223f7b6528fe30b8e52088 /Timeline.Tests/Helpers
parent5b5bb69c3ba2150816f120860be46d49c5bc37aa (diff)
downloadtimeline-468d7f4c416d4469375b7170beb5e388737c0970.tar.gz
timeline-468d7f4c416d4469375b7170beb5e388737c0970.tar.bz2
timeline-468d7f4c416d4469375b7170beb5e388737c0970.zip
Write tests and fix bugs found via tests.
Diffstat (limited to 'Timeline.Tests/Helpers')
-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);
}
}