This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
otter-space-sdk/pkg/database/postgres_test.go

27 lines
429 B
Go
Raw Normal View History

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