aboutsummaryrefslogtreecommitdiff
path: root/archive_test.go
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2022-11-24 00:55:37 -0700
committerJordan <me@jordan.im>2022-11-24 00:55:37 -0700
commitca276b66837ac04bf92de257e5e65d2992f1a547 (patch)
treefb11dfbe6bd885c8503ba5eedca02dbaf0a13313 /archive_test.go
parent12c3c1fcc2e72a74934a59fcecba51ef47a6667a (diff)
downloadkeep-ca276b66837ac04bf92de257e5e65d2992f1a547.tar.gz
keep-ca276b66837ac04bf92de257e5e65d2992f1a547.zip
archive, keep: send authenticated POST requests to /save/ IA endpoint
Diffstat (limited to 'archive_test.go')
-rw-r--r--archive_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/archive_test.go b/archive_test.go
index 7e7d4ff..842b3b3 100644
--- a/archive_test.go
+++ b/archive_test.go
@@ -42,12 +42,3 @@ func TestIsNotIgnored(t *testing.T) {
t.Errorf("Received %t; want %t", ignored, false)
}
}
-
-func TestArchive200(t *testing.T) {
-
- url := "http://example.com/"
- status := archive(url)
- if status != http.StatusOK {
- t.Errorf("Recieved %d; want %d", status, http.StatusOK)
- }
-}