mg-transport-core/core/domains_test.go

27 lines
350 B
Go
Raw Normal View History

package core
import (
"github.com/stretchr/testify/assert"
"testing"
)
func Test_GetSaasDomains(t *testing.T) {
domains := GetSaasDomains()
if domains == nil {
t.Fail()
}
assert.NotEmpty(t, domains)
}
func Test_GetBoxDomains(t *testing.T) {
domains := GetBoxDomains()
if domains == nil {
t.Fail()
}
assert.NotEmpty(t, domains)
}