diff --git a/pkg/action/hooks_test.go b/pkg/action/hooks_test.go index 9c279bc1a..3ef1c17cb 100644 --- a/pkg/action/hooks_test.go +++ b/pkg/action/hooks_test.go @@ -151,30 +151,30 @@ data: }, }, }, resource.Info{ - Name: "build-config-2", - Namespace: "test", - }, []resource.Info{ - { - // This should be in the record for `before-hook-creation` - Name: "build-config-1", - Namespace: "test", - }, - { - // This should be in the record for `before-hook-creation` - Name: "build-config-2", - Namespace: "test", - }, - { - // This should be in the record for cleaning up (the failure first) Name: "build-config-2", Namespace: "test", - }, - { - // This should be in the record for cleaning up (then the previously successful) - Name: "build-config-1", - Namespace: "test", - }, - }, true, + }, []resource.Info{ + { + // This should be in the record for `before-hook-creation` + Name: "build-config-1", + Namespace: "test", + }, + { + // This should be in the record for `before-hook-creation` + Name: "build-config-2", + Namespace: "test", + }, + { + // This should be in the record for cleaning up (the failure first) + Name: "build-config-2", + Namespace: "test", + }, + { + // This should be in the record for cleaning up (then the previously successful) + Name: "build-config-1", + Namespace: "test", + }, + }, true, }, }