mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +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
|
||||
|
||||
script:
|
||||
- go test -v ./test/... -coverprofile=coverage.txt -covermode=atomic
|
||||
- go test -v ./test -coverprofile=coverage.txt -covermode=atomic
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
package middleware
|
||||
package test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/iris-contrib/middleware/basicauth"
|
||||
"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 */
|
Loading…
Reference in New Issue
Block a user