From 3dfc0e48fd72c4345c3eeb94a1bff77776050b46 Mon Sep 17 00:00:00 2001 From: ecrupper Date: Thu, 26 Oct 2023 14:16:08 -0500 Subject: [PATCH] fix tests --- api/build/skip_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/build/skip_test.go b/api/build/skip_test.go index 27cf416bd..f3aba19ab 100644 --- a/api/build/skip_test.go +++ b/api/build/skip_test.go @@ -22,7 +22,7 @@ func Test_SkipEmptyBuild(t *testing.T) { { Name: "init", }, - }}}, "skipping build since only init stage found"}, + }}}, "skipping build since only init stage found. It is likely no rulesets matched for the webhook payload."}, {"init and clone stages", args{p: &pipeline.Build{Stages: []*pipeline.Stage{ { Name: "init", @@ -30,7 +30,7 @@ func Test_SkipEmptyBuild(t *testing.T) { { Name: "clone", }, - }}}, "skipping build since only init and clone stages found"}, + }}}, "skipping build since only init and clone stages found. It is likely no rulesets matched for the webhook payload."}, {"three stages", args{p: &pipeline.Build{Stages: []*pipeline.Stage{ { Name: "init", @@ -46,7 +46,7 @@ func Test_SkipEmptyBuild(t *testing.T) { { Name: "init", }, - }}}, "skipping build since only init step found"}, + }}}, "skipping build since only init step found. It is likely no rulesets matched for the webhook payload."}, {"init and clone steps", args{p: &pipeline.Build{Steps: []*pipeline.Container{ { Name: "init", @@ -54,7 +54,7 @@ func Test_SkipEmptyBuild(t *testing.T) { { Name: "clone", }, - }}}, "skipping build since only init and clone steps found"}, + }}}, "skipping build since only init and clone steps found. It is likely no rulesets matched for the webhook payload."}, {"three steps", args{p: &pipeline.Build{Steps: []*pipeline.Container{ { Name: "init",