aboutsummaryrefslogtreecommitdiff
path: root/handler_test.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-30 19:38:21 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-30 19:38:21 +0100
commit60394fb5352d9869946859cf534c36c92be51700 (patch)
treefa4f60635f05b77440f60c74579121a2314e5432 /handler_test.go
parentd2a37fc8afe359fc9bca6f5f67d9d976a8675803 (diff)
removed TODO
That the returned leaf and appendix are as expected follows from the newAddEntryRequest function and its separate test cases.
Diffstat (limited to 'handler_test.go')
-rw-r--r--handler_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/handler_test.go b/handler_test.go
index 4bfb87d..5390d1c 100644
--- a/handler_test.go
+++ b/handler_test.go
@@ -321,7 +321,6 @@ func TestAddEntry(t *testing.T) {
req.Header.Set("Content-Type", "application/json")
if table.trsp != nil || table.terr != nil {
- // TODO: replace gomock.Any with a check that leaf and appendix are OK, e.g., chain length should be 3
th.client.EXPECT().QueueLeaf(newDeadlineMatcher(), gomock.Any()).Return(table.trsp, table.terr)
}
w := httptest.NewRecorder()