connected remotegameprivate and backend
This commit is contained in:
16
server/connection_test.go
Normal file
16
server/connection_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Testing connection to the Database
|
||||
func TestConnect(t *testing.T) {
|
||||
// Connect to database created
|
||||
_, err := Connect()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user