diff --git a/tests/finish.sh b/tests/finish.sh
index 70f779f38c8dfdec9474d0ffe22df39ac3f52cc2..ac82e1b30dc00d49d293289e8d35b66c9611d1ac 100755
--- a/tests/finish.sh
+++ b/tests/finish.sh
@@ -6,5 +6,6 @@ applications=( static wordpress known )
 
 for application in "${applications[@]}"
 do
+  curl -Lk $application.test
   /data/indiehosters/tests/clean.sh $application
 done
diff --git a/tests/test.sh b/tests/test.sh
index c975d961f8500f165631a611e99ad3a5ac08099f..4fbbff50c9a25df28f8d19194fe4f9d8302f7daf 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -18,6 +18,5 @@ else
 fi
 
 systemctl list-units | grep "$image\.test" | grep -c failed | grep 0
-ip=`docker inspect --format {{.NetworkSettings.IPAddress}} $image.test`
-curl -L $ip
+curl -L $image.test