Fix tests

This commit is contained in:
Chocobozzz
2016-03-07 18:53:03 +01:00
parent 6a1e67b30a
commit 3d446a26ad
11 changed files with 21 additions and 11 deletions

View File

@@ -4,5 +4,5 @@ basePath=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
for i in $(seq 1 6); do
printf "use peertube-test%s;\ndb.dropDatabase();" "$i" | mongo
rm -rf "$basePath/../server/test$i"
rm -rf "$basePath/../test$i"
done