This commit is contained in:
Deluan
2016-03-02 13:18:39 -05:00
parent 9d41f5a39f
commit 4843ccb46c
42 changed files with 150 additions and 160 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
package controllers_test
import (
"fmt"
"github.com/astaxie/beego"
_ "github.com/deluan/gosonic/conf"
"github.com/deluan/gosonic/tests"
. "github.com/smartystreets/goconvey/convey"
"testing"
"net/http"
"net/http/httptest"
"github.com/astaxie/beego"
"fmt"
_ "github.com/deluan/gosonic/conf"
"testing"
)
func TestErrorHandler(t *testing.T) {
@@ -25,4 +25,4 @@ func TestErrorHandler(t *testing.T) {
So(w.Code, ShouldEqual, 404)
})
})
}
}
-2
View File
@@ -11,5 +11,3 @@ func (c *SyncController) Get() {
scanner.StartImport()
c.Ctx.WriteString("Import started. Check logs")
}