first_pass_test.go 311 B

123456789101112131415
  1. package archive
  2. import (
  3. "context"
  4. . "github.com/smartystreets/goconvey/convey"
  5. "testing"
  6. )
  7. func Test_GetFirstPassByAID(t *testing.T) {
  8. Convey("test archive", t, WithDao(func(d *Dao) {
  9. id, err := d.GetFirstPassByAID(context.Background(), 10098814)
  10. So(err, ShouldBeNil)
  11. So(id, ShouldNotBeNil)
  12. }))
  13. }