Этот коммит содержится в:
=Corey Hulen
2016-01-22 16:31:58 -06:00
родитель 6e2c1b7fd5 d352c5b64d
Коммит c2d98c2c1f
1772 изменённых файлов: 1556763 добавлений и 520 удалений

Просмотреть файл

@@ -22,6 +22,7 @@ var URL string
func Setup() {
if api.Srv == nil {
utils.LoadConfig("config.json")
utils.InitTranslations()
api.NewServer()
api.StartServer()
api.InitApi()
@@ -45,7 +46,7 @@ func TestStatic(t *testing.T) {
// add a short delay to make sure the server is ready to receive requests
time.Sleep(1 * time.Second)
resp, err := http.Get(URL + "/static/images/favicon.ico")
resp, err := http.Get(URL + "/static/images/favicon/favicon-16x16.png")
if err != nil {
t.Fatalf("got error while trying to get static files %v", err)