mirror of
https://github.com/labstack/echo.git
synced 2025-11-29 22:48:07 +02:00
Added test for secure middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@@ -14,7 +14,7 @@ func TestMethodOverride(t *testing.T) {
|
||||
e := echo.New()
|
||||
m := MethodOverride()
|
||||
h := func(c echo.Context) error {
|
||||
return c.String(http.StatusOK, "Okay")
|
||||
return c.String(http.StatusOK, "test")
|
||||
}
|
||||
|
||||
// Override with http header
|
||||
|
||||
Reference in New Issue
Block a user