From 8bd903f07d58c2e56664604901a3af11518e8a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 19 Jul 2019 17:39:33 +0200 Subject: [PATCH] chg: [travis] Delete the event created by curl test --- tests/curl_tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/curl_tests.sh b/tests/curl_tests.sh index ea4a9f902..ca83d2c6b 100755 --- a/tests/curl_tests.sh +++ b/tests/curl_tests.sh @@ -10,3 +10,4 @@ curl -H "Authorization: $AUTH" -X GET http://misp.local/events/csv/download/1/i cat 1.csv cut -d, -f2 --complement event.csv | sort > compare.csv diff compare.csv 1.csv +curl -i -H "Accept: application/json" -H "content-type: application/json" -H "Authorization: $AUTH" -X POST http://misp.local/events/delete/1