Move all test data under ./data dir

This commit is contained in:
Dan Sosedoff
2015-03-16 23:41:53 -05:00
parent cc983f9ad6
commit 14cc8d5c24
7 changed files with 6 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ func setup() {
os.Exit(1)
}
out, err = exec.Command(testCommands["psql"], "-U", "postgres", "-h", "localhost", "-f", "./sql/booktown.sql", "booktown").CombinedOutput()
out, err = exec.Command(testCommands["psql"], "-U", "postgres", "-h", "localhost", "-f", "./data/booktown.sql", "booktown").CombinedOutput()
if err != nil {
fmt.Println("Database import failed:", string(out))