overflow_service/proxy/domain/domain_service_test.go
2017-06-27 09:08:47 +09:00

19 lines
203 B
Go

package domain
import "testing"
func TestSave(t *testing.T) {
d := Domain{}
d.Name = "snoop's domain"
str, err := NewDomainService().Create(&d)
if err != nil {
t.Fatal(err)
}
t.Log(str)
}