1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

minor test fix

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-03-04 18:10:13 +02:00
parent 1dbdfbfd7e
commit 7272c76847
2 changed files with 4 additions and 2 deletions

View File

@@ -61,5 +61,5 @@ func TestJWT(t *testing.T) {
// Test expired (note checks happen based on second round).
time.Sleep(5 * time.Second)
e.GET("/protected").WithHeader("Authorization", headerValue).Expect().
Status(iris.StatusUnauthorized).Body().Equal("token expired")
Status(iris.StatusUnauthorized).Body().Equal("jwt: token expired")
}