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" database_file_path = "file::memory:?cache=shared"
# The path to the sql file to load for demo data. # 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. # The port to listen on for the server.
port = "8080" port = "8080"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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