diff --git a/remote/gitea/gitea_test.go b/remote/gitea/gitea_test.go index c1e72c869..1b427be3b 100644 --- a/remote/gitea/gitea_test.go +++ b/remote/gitea/gitea_test.go @@ -127,12 +127,6 @@ func Test_gitea(t *testing.T) { g.Assert(string(raw)).Equal("{ platform: linux/amd64 }") }) - g.It("Should return a repository file from a ref", func() { - raw, err := c.File(fakeUser, fakeRepo, fakeBuildWithRef, ".drone.yml") - g.Assert(err == nil).IsTrue() - g.Assert(string(raw)).Equal("{ platform: linux/amd64 }") - }) - g.It("Should return nil from send build status", func() { err := c.Status(fakeUser, fakeRepo, fakeBuild, "http://gitea.io") g.Assert(err == nil).IsTrue() @@ -186,8 +180,4 @@ var ( fakeBuild = &model.Build{ Commit: "9ecad50", } - - fakeBuildWithRef = &model.Build{ - Ref: "refs/tags/v1.0.0", - } )