From af65881fbf23580ec4fdcff437fb7eae2af8c915 Mon Sep 17 00:00:00 2001 From: Thomas Karner Date: Tue, 21 Nov 2023 20:09:57 +0100 Subject: [PATCH] use relative path for sqlite database file --- database/database_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/database_integration_test.go b/database/database_integration_test.go index ca62e64..b4be533 100644 --- a/database/database_integration_test.go +++ b/database/database_integration_test.go @@ -26,7 +26,7 @@ var ( testConnectionMySql connectionParameter = connectionParameter{connectionString: "mysql://root:password@tcp(127.0.0.1:3306)/mermerd_test", schema: "mermerd_test"} testConnectionMsSql connectionParameter = connectionParameter{connectionString: "sqlserver://sa:securePassword1!@localhost:1433?database=mermerd_test", schema: "dbo"} testConnectionAzure connectionParameter = connectionParameter{connectionString: "sqlserver://sa:securePassword1!@localhost:1434?database=mermerd_test", schema: "dbo"} - testConnectionSqlite connectionParameter = connectionParameter{connectionString: "sqlite3:///home/thomask/projects/mermerd/mermerd_test.db", schema: "mermerd_test"} + testConnectionSqlite connectionParameter = connectionParameter{connectionString: "sqlite3://../mermerd_test.db", schema: "mermerd_test"} ) func TestDatabaseIntegrations(t *testing.T) {