mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 12:57:05 +00:00
fix 2 minor issues
This commit is contained in:
@@ -37,7 +37,7 @@ func TestURLShortener(t *testing.T) {
|
||||
|
||||
// get
|
||||
e.GET("/u/" + keys[0]).Expect().
|
||||
Status(httptest.StatusTemporaryRedirect).Header("Location").Equal(originalURL)
|
||||
Status(httptest.StatusBadGateway).Header("Location").Equal(originalURL)
|
||||
|
||||
// save the same again, it should add a new key
|
||||
e.POST("/shorten").
|
||||
|
||||
Reference in New Issue
Block a user