wip: Mark update slots with XX:, add pkg/server/container.go
This commit is contained in:
committed by
=Michael Hohn
parent
5b9df73424
commit
8df9673897
@@ -6,7 +6,7 @@ import (
|
||||
"mrvacommander/pkg/storage"
|
||||
)
|
||||
|
||||
func TestSetupDB(t *testing.T) {
|
||||
func TestSetupTables(t *testing.T) {
|
||||
|
||||
db, err := storage.ConnectDB(storage.DBSpec{
|
||||
Host: "localhost",
|
||||
@@ -22,7 +22,7 @@ func TestSetupDB(t *testing.T) {
|
||||
|
||||
// Check and set up the database
|
||||
s := storage.StorageContainer{RequestID: 12345, DB: db}
|
||||
if err := s.SetupDB(); err != nil {
|
||||
if err := s.SetupTables(); err != nil {
|
||||
t.Errorf("Cannot set up db")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user