Use a named location for authSignURL (#4859)
This commit is contained in:
parent
d83b83bc0d
commit
a0523c3c8a
6 changed files with 126 additions and 22 deletions
|
|
@ -763,14 +763,6 @@ func TestFilterRateLimits(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestBuildAuthSignURL(t *testing.T) {
|
||||
invalidType := &ingress.Ingress{}
|
||||
expected := ""
|
||||
actual := buildAuthSignURL(invalidType)
|
||||
|
||||
if expected != actual {
|
||||
t.Errorf("Expected '%v' but returned '%v'", expected, actual)
|
||||
}
|
||||
|
||||
cases := map[string]struct {
|
||||
Input, Output string
|
||||
}{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue