summaryrefslogtreecommitdiff
path: root/test/toxbank-investigation-xls.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/toxbank-investigation-xls.rb')
-rw-r--r--test/toxbank-investigation-xls.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/toxbank-investigation-xls.rb b/test/toxbank-investigation-xls.rb
index 492d990..9ce8b2a 100644
--- a/test/toxbank-investigation-xls.rb
+++ b/test/toxbank-investigation-xls.rb
@@ -56,6 +56,8 @@ class UploadTest < Test::Unit::TestCase
response = `curl -Lk -i -X DELETE -H "subjectid:#{@@subjectid}" #{uri}`
assert_match /200/, response
response = `curl -Lk -i -H "Accept:text/uri-list" -H "subjectid:#{@@subjectid}" #{uri}`
+ assert_match /401/, response
+ response = `curl -I -Lk -i -H "Accept:text/uri-list" -H "subjectid:#{@@subjectid}" #{uri}`
assert_match /404/, response
end