You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
347 B
18 lines
347 B
package service |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestDMSCache(t *testing.T) { |
|
Convey("should return dms and nil", t, func() { |
|
dms, err := svr.dms(context.TODO(), 1, 1221, 1, 0) |
|
So(err, ShouldBeNil) |
|
Convey("dms shoule not be empty", func() { |
|
So(len(dms), ShouldNotBeEmpty) |
|
}) |
|
}) |
|
}
|
|
|