mg-transport-core/core/domains_test.go
Neur0toxine 627ceae0bc
Replace old Sentry client with the new SDK
* replace old Sentry client with the new SDK
* do not initialize Sentry SDK twice, correct panic processing
* account prefix for panics
* log errors with account context data
* tests
* linter fixes
* removed 1.18 from available versions
2022-03-18 10:46:22 +03:00

28 lines
351 B
Go

package core
import (
"testing"
"github.com/stretchr/testify/assert"
)
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)
}