aboutsummaryrefslogtreecommitdiff
path: root/request_test.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-03-15 20:18:29 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-03-15 20:18:29 +0100
commite2959d506de6067afe494315c3621b33613b5414 (patch)
treedb51eb9917760717156f8e9cfebccdd6e1d51a1c /request_test.go
parent864031a77981d970f7e3fd89380a7bdb42d70d33 (diff)
added option to run with unregistered namespaces
Also a few minor fixes such that server binary starts again.
Diffstat (limited to 'request_test.go')
-rw-r--r--request_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/request_test.go b/request_test.go
index b0e5da1..0bf68ad 100644
--- a/request_test.go
+++ b/request_test.go
@@ -45,7 +45,7 @@ func TestParseAddEntryV1Request(t *testing.T) {
{
description: "valid",
breq: testdata.AddSignedChecksumBuffer(t, testdata.Ed25519SkSubmitter, testdata.Ed25519VkSubmitter),
- },
+ }, // TODO: add test case that disables submitter policy (i.e., unregistered namespaces are accepted)
} {
url := EndpointAddEntry.Path("http://example.com", lp.Prefix)
req, err := http.NewRequest("POST", url, table.breq)
@@ -96,7 +96,7 @@ func TestParseAddCosignatureV1Request(t *testing.T) {
{
description: "valid",
breq: testdata.AddCosignatureBuffer(t, testdata.DefaultSth(t, testdata.Ed25519VkLog), &testdata.Ed25519SkWitness, &testdata.Ed25519VkWitness),
- },
+ }, // TODO: add test case that disables witness policy (i.e., unregistered namespaces are accepted)
} {
url := EndpointAddCosignature.Path("http://example.com", lp.Prefix)
req, err := http.NewRequest("POST", url, table.breq)