Browse Source

e2e: remove unused 'ctlV3GetFailPerm'

Gyu-Ho Lee 9 years ago
parent
commit
3512f114e4
1 changed files with 0 additions and 4 deletions
  1. 0 4
      e2e/ctl_v3_auth_test.go

+ 0 - 4
e2e/ctl_v3_auth_test.go

@@ -325,10 +325,6 @@ func ctlV3PutFailAuthDisabled(cx ctlCtx, key, val string) error {
 	return spawnWithExpect(append(cx.PrefixArgs(), "put", key, val), "authentication is not enabled")
 }
 
-func ctlV3GetFailPerm(cx ctlCtx, key string) error {
-	return spawnWithExpect(append(cx.PrefixArgs(), "get", key), "permission denied")
-}
-
 func authSetupTestUser(cx ctlCtx) {
 	if err := ctlV3User(cx, []string{"add", "test-user", "--interactive=false"}, "User test-user created", []string{"pass"}); err != nil {
 		cx.t.Fatal(err)