Merge pull request #2508 from mattermost/mf-fixes
Removing static test. Adding start-docker as a dep for run-server.
Этот коммит содержится в:
2
Makefile
2
Makefile
@@ -174,7 +174,7 @@ endif
|
|||||||
# Create package
|
# Create package
|
||||||
tar -C dist -czf $(DIST_PATH).tar.gz mattermost
|
tar -C dist -czf $(DIST_PATH).tar.gz mattermost
|
||||||
|
|
||||||
run-server: prepare-enterprise
|
run-server: prepare-enterprise start-docker
|
||||||
@echo Running mattermost for development
|
@echo Running mattermost for development
|
||||||
|
|
||||||
mkdir -p $(BUILD_WEBAPP_DIR)/dist/files
|
mkdir -p $(BUILD_WEBAPP_DIR)/dist/files
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
package web
|
package web
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
|
||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
@@ -40,6 +39,7 @@ func TearDown() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Test disabled for now so we don't requrie the client to build. Maybe re-enable after client gets moved out.
|
||||||
func TestStatic(t *testing.T) {
|
func TestStatic(t *testing.T) {
|
||||||
Setup()
|
Setup()
|
||||||
|
|
||||||
@@ -54,6 +54,7 @@ func TestStatic(t *testing.T) {
|
|||||||
t.Fatalf("couldn't get static files %v", resp.StatusCode)
|
t.Fatalf("couldn't get static files %v", resp.StatusCode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
func TestGetAccessToken(t *testing.T) {
|
func TestGetAccessToken(t *testing.T) {
|
||||||
Setup()
|
Setup()
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user