mirror of
https://github.com/kataras/iris.git
synced 2026-01-27 05:45:56 +00:00
Move middleware test(s) to the test folder
This commit is contained in:
@@ -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 */
|
||||||
Reference in New Issue
Block a user