From 1f8024238d8c08f220c365b75f1e858311d6eb1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Wed, 4 Aug 2021 10:09:37 +0200
Subject: [PATCH] STY

---
 .docker/Dockerfile       | 2 +-
 integrationtests/test.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.docker/Dockerfile b/.docker/Dockerfile
index f47261e0..43e5eff1 100644
--- a/.docker/Dockerfile
+++ b/.docker/Dockerfile
@@ -31,4 +31,4 @@ RUN rm -r /git/.git \
     && mv /git/.docker/pycaosdb.ini /git/integrationtests
 RUN cd /git && pip3 install .[h5-crawler]
 WORKDIR /git/integrationtests
-CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh -force
+CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force
diff --git a/integrationtests/test.sh b/integrationtests/test.sh
index 9a2ca049..5efd5495 100755
--- a/integrationtests/test.sh
+++ b/integrationtests/test.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
-if [ "$1" != "-force" ]
+if [ "$1" != "--force" ]
 then
-    echo "Warning: for these tests, the whole database is deleted. Do you want to proceed? (yes/exit)"
+    echo "Warning: For these tests, the whole database will be deleted. Do you want to proceed? (yes/Exit)"
     read safety
     if [ -z $safety ]
     then
-- 
GitLab