As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Unverified Commit 20c672f5 authored by Aakriti Gupta's avatar Aakriti Gupta Committed by GitLab
Browse files

Remove custom action test

parent a4f8357a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -38,14 +38,6 @@ func TestForbiddenAccess(t *testing.T) {
require.Equal(t, "Disallowed by API call", err.Error())
}
func TestCustomReceivePack(t *testing.T) {
cmd, output := setup(t, "1", requesthandlers.BuildAllowedWithCustomActionsHandlers(t))
_, err := cmd.Execute(context.Background())
require.NoError(t, err)
require.Equal(t, "customoutput", output.String())
}
func setup(t *testing.T, keyId string, requests []testserver.TestRequestHandler) (*Command, *bytes.Buffer) {
url := testserver.StartSocketHttpServer(t, requests)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment