summaryrefslogtreecommitdiffstats
path: root/api/webrtc_test.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-01-13 15:17:50 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-01-13 15:17:50 -0500
commit0e2b321e6f5ab5983bc3428aa455dac7012c36ee (patch)
treec3919a284cf13ddcb66a6f482b1c9bbd9f34fc9b /api/webrtc_test.go
parent97558f6a6ec4c53fa69035fb430ead209d9c222d (diff)
downloadchat-0e2b321e6f5ab5983bc3428aa455dac7012c36ee.tar.gz
chat-0e2b321e6f5ab5983bc3428aa455dac7012c36ee.tar.bz2
chat-0e2b321e6f5ab5983bc3428aa455dac7012c36ee.zip
Refactor and migrate more functions out of api into app package (#5063)
Diffstat (limited to 'api/webrtc_test.go')
-rw-r--r--api/webrtc_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/webrtc_test.go b/api/webrtc_test.go
index 953333b09..21049d95d 100644
--- a/api/webrtc_test.go
+++ b/api/webrtc_test.go
@@ -5,6 +5,7 @@ package api
import (
"fmt"
+ "github.com/mattermost/platform/app"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
"testing"
@@ -39,5 +40,5 @@ func TestWebrtcToken(t *testing.T) {
fmt.Println("Turn Password", result["turn_password"])
}
- RevokeWebrtcToken(sessionId)
+ app.RevokeWebrtcToken(sessionId)
}