force_test.go 522 B

1234567891011121314151617
  1. package v2
  2. // func TestV2Force(t *testing.T) {
  3. // convey.SkipConvey("Force", t, func(ctx convey.C) {
  4. // var (
  5. // appID = int64(24)
  6. // hostname = "apm-admin-31733-7c776f4d86-rxv6z"
  7. // )
  8. // ctx.Convey("When everything goes positive", func(ctx convey.C) {
  9. // version, err := d.Force(appID, hostname)
  10. // ctx.Convey("Then err should be nil.version should not be nil.", func(ctx convey.C) {
  11. // ctx.So(err, convey.ShouldBeNil)
  12. // ctx.So(version, convey.ShouldNotBeNil)
  13. // })
  14. // })
  15. // })
  16. // }