Commit b981cd5a authored by Ash McKenzie's avatar Ash McKenzie

Merge branch '215-follow-up-from-rewrite-bin-check-in-go' into 'master'

Remove buildCheckAllowedEnv() test helper

Closes #215

See merge request gitlab-org/gitlab-shell!343
parents 26ad6f92 c298f4c5
...@@ -37,13 +37,6 @@ func buildEnv(command string) map[string]string { ...@@ -37,13 +37,6 @@ func buildEnv(command string) map[string]string {
} }
} }
func buildCheckAllowedEnv(command string) map[string]string {
out := buildEnv(command)
out["GITLAB_SHELL_ALLOW_CHECK_COMMAND"] = "1"
return out
}
func TestNew(t *testing.T) { func TestNew(t *testing.T) {
testCases := []struct { testCases := []struct {
desc string desc string
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment