otter-space-sdk/pkg/database/postgres_test.go
SoXX 30fa03ef9a
All checks were successful
Gitea Build Check / Build (push) Successful in 10m40s
feat(postgres): added more tests
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-24 14:28:09 +02:00

27 lines
429 B
Go

package database
import (
"testing"
)
func TestNewPostgresqlConnection(t *testing.T) {
// Test
tests := []struct {
name string
want OtterSpace
}{
{
name: "Test 1: Create new postgresql connection",
want: nil,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if tt.want != NewPostgresqlConnection() {
} else {
t.Errorf("NewPostgresqlConnection() = %s", tt.want)
}
})
}
}