From 535e0e0a8040df04bcb2a335b619a39f2c39e062 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 26 Jan 2018 15:45:38 -0200 Subject: [PATCH] fix: brew test --- pipeline/brew/brew_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline/brew/brew_test.go b/pipeline/brew/brew_test.go index 0bde35ce4..25876ed99 100644 --- a/pipeline/brew/brew_test.go +++ b/pipeline/brew/brew_test.go @@ -387,7 +387,7 @@ type DummyClient struct { Content string } -func (client *DummyClient) CreateRelease(ctx *context.Context, body string) (releaseID int, err error) { +func (client *DummyClient) CreateRelease(ctx *context.Context, body string) (releaseID int64, err error) { return } @@ -398,6 +398,6 @@ func (client *DummyClient) CreateFile(ctx *context.Context, content bytes.Buffer return } -func (client *DummyClient) Upload(ctx *context.Context, releaseID int, name string, file *os.File) (err error) { +func (client *DummyClient) Upload(ctx *context.Context, releaseID int64, name string, file *os.File) (err error) { return }