From 7272c76847eb6a69ef64e15aa920956c6ab7d613 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Thu, 4 Mar 2021 18:10:13 +0200 Subject: [PATCH] minor test fix --- README.md | 4 +++- middleware/jwt/jwt_test.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05af4795..731b56dc 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ # News > This is the under-**development branch**. Stay tuned for the upcoming release [v12.2.0](HISTORY.md#Next). Looking for a stable release? Head over to the [v12.1.8 branch](https://github.com/kataras/iris/tree/v12.1.8) instead. -> +> > ![](https://iris-go.com/images/cli.png) Try the official [Iris Command Line Interface](https://github.com/kataras/iris-cli) today! +> Due to the large workload, there may be delays in answering your [questions](https://github.com/kataras/iris/issues). + # Iris Web Framework diff --git a/middleware/jwt/jwt_test.go b/middleware/jwt/jwt_test.go index b65c02b7..6b9d75f2 100644 --- a/middleware/jwt/jwt_test.go +++ b/middleware/jwt/jwt_test.go @@ -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") }