mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-22 05:06:04 +03:00
27 lines
350 B
Go
27 lines
350 B
Go
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)
|
|
}
|