diff --git a/pipeline/brew/brew_test.go b/pipeline/brew/brew_test.go index b15a74b67..2da710082 100644 --- a/pipeline/brew/brew_test.go +++ b/pipeline/brew/brew_test.go @@ -168,10 +168,17 @@ func TestRunPipeNoPublish(t *testing.T) { func TestRunPipeDraftRelease(t *testing.T) { assert := assert.New(t) var ctx = &context.Context{ + Publish: true, Config: config.Project{ Release: config.Release{ Draft: true, }, + Brew: config.Homebrew{ + GitHub: config.Repo{ + Owner: "test", + Name: "test", + }, + }, }, } client := &DummyClient{}