Move middleware test(s) to the test folder

This commit is contained in:
Makis Maropoulos 2016-07-02 19:03:03 +02:00
parent 90c7e1466c
commit 93ddb7f3b4
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -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 */