[DRE-commits] [schleuder] 02/13: debian/tests/check-status: Update expected API response

Georg Faerber georg-alioth-guest at moszumanska.debian.org
Sat Oct 28 13:43:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

georg-alioth-guest pushed a commit to branch master
in repository schleuder.

commit 9adb62ef9397b85fc8eface921dfa63cee63b0ae
Author: Georg Faerber <georg at riseup.net>
Date:   Fri Oct 27 18:36:29 2017 +0200

    debian/tests/check-status: Update expected API response
---
 debian/tests/check-status | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/check-status b/debian/tests/check-status
index 236e97d..d64a1cf 100755
--- a/debian/tests/check-status
+++ b/debian/tests/check-status
@@ -2,4 +2,4 @@
 
 set -e
 
-curl -s -k -I https://127.0.0.1:4443/status.json | grep -q 'WWW-Authenticate: Basic realm="Schleuder API Daemon"' || exit 1
+curl -k -s -N https://127.0.0.1:4443/status.json | grep -q '{"status":"ok"}' || exit 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/schleuder.git



More information about the Pkg-ruby-extras-commits mailing list