Browse Source

minor test fix

pull/1746/head
Gerasimos (Makis) Maropoulos 5 months ago
parent
commit
7272c76847
No known key found for this signature in database GPG Key ID: A771A828097B36C7
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      README.md
  2. +1
    -1
      middleware/jwt/jwt_test.go

+ 3
- 1
README.md View File

@@ -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).

<!-- ![](https://iris-go.com/images/release.png) Iris version **12.1.8** has been [released](HISTORY.md#su-16-february-2020--v1218)! -->

# Iris Web Framework <a href="README_GR.md"><img width="20px" src="https://iris-go.com/images/flag-greece.svg" /></a> <a href="README_FR.md"><img width="20px" src="https://iris-go.com/images/flag-france.svg" /></a> <a href="README_ZH.md"><img width="20px" src="https://iris-go.com/images/flag-china.svg" /></a> <a href="README_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></a> <a href="README_FA.md"><img width="20px" src="https://iris-go.com/images/flag-iran.svg" /></a> <a href="README_RU.md"><img width="20px" src="https://iris-go.com/images/flag-russia.svg" /></a> <a href="README_KO.md"><img width="20px" src="https://iris-go.com/images/flag-south-korea.svg?v=12" /></a>


+ 1
- 1
middleware/jwt/jwt_test.go 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")
}

Loading…
Cancel
Save