From 5b1efd0b533be974c165548eaa749cba480d060b Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Wed, 7 Oct 2020 12:11:59 +0200 Subject: #915 Add default SQL schema for tests This schema is now adapted to work on this repository instead of the "OpenGnsys" general repository. --- tests/run-tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/run-tests.py b/tests/run-tests.py index ba28acd..11becc0 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -13,7 +13,7 @@ def start_mysql(): subprocess.run(['mysqladmin', 'drop', '-f', 'test-db'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) subprocess.run(['mysqladmin', 'create', 'test-db']) - subprocess.run('mysql --default-character-set=utf8 test-db < ../../../../Database/ogAdmBD.sql', shell=True) + subprocess.run('mysql --default-character-set=utf8 test-db < ../cfg/ogAdmBD.sql', shell=True) subprocess.run(['mysql', '-D', 'test-db', '-e', sql_data]) subprocess.run(['mysql', '-D', 'test-db', '-e', sql_create_user]) -- cgit v1.2.3-18-g5258