mirror of
https://github.com/kataras/iris.git
synced 2025-02-09 02:34:55 +01:00
Move middleware test(s) to the test folder
This commit is contained in:
parent
90c7e1466c
commit
93ddb7f3b4
|
@ -7,7 +7,7 @@ before_install:
|
||||||
- go get github.com/iris-contrib/middleware/basicauth
|
- go get github.com/iris-contrib/middleware/basicauth
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v ./test/... -coverprofile=coverage.txt -covermode=atomic
|
- go test -v ./test -coverprofile=coverage.txt -covermode=atomic
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
package middleware
|
package test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/iris-contrib/middleware/basicauth"
|
"github.com/iris-contrib/middleware/basicauth"
|
||||||
"github.com/kataras/iris"
|
"github.com/kataras/iris"
|
||||||
. "github.com/kataras/iris/test"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
/* Yes, middleware front-end tests also here, so if you want to test you have to go get at least one middleware */
|
/* Yes, middleware front-end tests also here, so if you want to test you have to go get at least one middleware */
|
Loading…
Reference in New Issue
Block a user