move tests to dedicated package
This commit is contained in:
@@ -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"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package apitest
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package apitest
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package apitest
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package apitest
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package apitest
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package apitest
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
Reference in New Issue
Block a user