-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.53..v0.2.54 changeset ServiceDbListMapsCmdTest.sh
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/test-files/cmd/quick/ServiceDbListMapsCmdTest.sh b/test-files/cmd/quick/ServiceDbListMapsCmdTest.sh
index 754ac16..456267e 100755
--- a/test-files/cmd/quick/ServiceDbListMapsCmdTest.sh
+++ b/test-files/cmd/quick/ServiceDbListMapsCmdTest.sh
@@ -5,9 +5,11 @@ [email protected]
source conf/database/DatabaseConfig.sh
HOOT_DB_URL="hootapidb://$DB_USER:$DB_PASSWORD@$DB_HOST:$DB_PORT/$DB_NAME"
+CONFIG="-C Testing.conf"
+
# add some maps for this user (delete any pre-existing)
-hoot convert --warn -D api.db.email=$EMAIL -D hootapi.db.writer.create.user=true -D hootapi.db.writer.overwrite.map=true test-files/ToyTestA.osm $HOOT_DB_URL/DbListMapsCmdTest1
-hoot convert --warn -D api.db.email=$EMAIL -D hootapi.db.writer.create.user=true -D hootapi.db.writer.overwrite.map=true test-files/ToyTestB.osm $HOOT_DB_URL/DbListMapsCmdTest2
+hoot convert --warn $CONFIG -D api.db.email=$EMAIL -D hootapi.db.writer.create.user=true -D hootapi.db.writer.overwrite.map=true test-files/ToyTestA.osm $HOOT_DB_URL/DbListMapsCmdTest1
+hoot convert --warn $CONFIG -D api.db.email=$EMAIL -D hootapi.db.writer.create.user=true -D hootapi.db.writer.overwrite.map=true test-files/ToyTestB.osm $HOOT_DB_URL/DbListMapsCmdTest2
# list the maps (not dealing with public maps here; see ServiceHootApiDbTest)
-hoot db-list-maps --warn -D api.db.email=$EMAIL $HOOT_DB_URL
+hoot db-list-maps --warn $CONFIG -D api.db.email=$EMAIL $HOOT_DB_URL