Files
Remote-Gameplay/server/connection_test.go

16 lines
221 B
Go

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()
}
}