diff --git a/internal/ingress/controller/template/template_test.go b/internal/ingress/controller/template/template_test.go index 7a8599f67..2f2dd670a 100644 --- a/internal/ingress/controller/template/template_test.go +++ b/internal/ingress/controller/template/template_test.go @@ -1221,15 +1221,6 @@ func TestEnforceRegexModifier(t *testing.T) { } } -func TestStripLocationModifer(t *testing.T) { - expected := "ok.com" - actual := stripLocationModifer("~*ok.com") - - if expected != actual { - t.Errorf("Expected '%v' but returned '%v'", expected, actual) - } -} - func TestShouldLoadModSecurityModule(t *testing.T) { // ### Invalid argument type tests ### // The first tests should return false.