archive_test.go 283 B

12345678910111213141516
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestCidInfo(t *testing.T) {
  8. Convey("test cid info", t, func() {
  9. cidInfo, err := testDao.CidInfo(context.TODO(), 10109082)
  10. So(err, ShouldBeNil)
  11. So(cidInfo, ShouldNotBeNil)
  12. })
  13. }