diff --git a/tests/core.testing.ini b/tests/core.testing.ini index c3710a1..811a43b 100644 --- a/tests/core.testing.ini +++ b/tests/core.testing.ini @@ -1,7 +1,7 @@ [core] server-port = 5000 database = core.sqlite -content-dir = /usr/share/webapps/emgauwa +content-dir = . not-found-file = 404.html not-found-file-mime = text/html not-found-content = 404 - NOT FOUND diff --git a/tests/run_tests.sh b/tests/run_tests.sh index cbfbdb1..ec36b70 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -40,6 +40,8 @@ controller_id=$! cd $working_dir +touch $working_dir/index.html + cp $1 $working_dir/core cp $source_dir/core.testing.ini $working_dir/core.ini