mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 13:35:59 +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
|
||||
|
||||
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 */
|
||||
Reference in New Issue
Block a user