18 lines
522 B
Go
18 lines
522 B
Go
|
package v2
|
||
|
|
||
|
// func TestV2Force(t *testing.T) {
|
||
|
// convey.SkipConvey("Force", t, func(ctx convey.C) {
|
||
|
// var (
|
||
|
// appID = int64(24)
|
||
|
// hostname = "apm-admin-31733-7c776f4d86-rxv6z"
|
||
|
// )
|
||
|
// ctx.Convey("When everything goes positive", func(ctx convey.C) {
|
||
|
// version, err := d.Force(appID, hostname)
|
||
|
// ctx.Convey("Then err should be nil.version should not be nil.", func(ctx convey.C) {
|
||
|
// ctx.So(err, convey.ShouldBeNil)
|
||
|
// ctx.So(version, convey.ShouldNotBeNil)
|
||
|
// })
|
||
|
// })
|
||
|
// })
|
||
|
// }
|