Get testrunner's path from config

This commit is contained in:
anonx
2014-10-29 23:52:27 +06:00
committed by Justin Li
parent eaa1f8b19e
commit 176c4077de

View File

@@ -62,7 +62,7 @@ func testApp(args []string) {
// Ensure that the testrunner is loaded in this mode.
testRunnerFound := false
for _, module := range revel.Modules {
if module.ImportPath == "github.com/revel/modules/testrunner" {
if module.ImportPath == revel.Config.StringDefault("module.testrunner", "github.com/revel/modules/testrunner") {
testRunnerFound = true
break
}