move tests to dedicated package

This commit is contained in:
2025-10-27 18:08:47 +01:00
parent cae46614ba
commit d407b41c9f
7 changed files with 7 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
database_file_path = "file::memory:?cache=shared"
# The path to the sql file to load for demo data.
demo_data_path = "./demodata.sql"
demo_data_path = "../../demodata.sql"
# The port to listen on for the server.
port = "8080"

View File

@@ -1,4 +1,4 @@
package main
package apitest
import (
"encoding/json"

View File

@@ -1,4 +1,4 @@
package main
package apitest
import (
"encoding/json"

View File

@@ -1,4 +1,4 @@
package main
package apitest
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package main
package apitest
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package main
package apitest
import (
"net/http"

View File

@@ -1,4 +1,4 @@
package main
package apitest
import (
"encoding/json"