summaryrefslogtreecommitdiffstats
path: root/api/post_test.go
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-07-16 14:47:28 -0700
committernickago <ngonella@calpoly.edu>2015-07-16 14:47:28 -0700
commitf0841af393d1d0c48bf27b68fca3be8fde096dd6 (patch)
treefefdd9e9c8dd7478038412c0915051acebf69420 /api/post_test.go
parent41d2786e3e256acf22be18c96c036e84e0ae4fc9 (diff)
downloadchat-f0841af393d1d0c48bf27b68fca3be8fde096dd6.tar.gz
chat-f0841af393d1d0c48bf27b68fca3be8fde096dd6.tar.bz2
chat-f0841af393d1d0c48bf27b68fca3be8fde096dd6.zip
Check your credentials from session
Diffstat (limited to 'api/post_test.go')
-rw-r--r--api/post_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/post_test.go b/api/post_test.go
index 5009ff54d..37798a0c9 100644
--- a/api/post_test.go
+++ b/api/post_test.go
@@ -10,6 +10,7 @@ import (
"net/http"
"testing"
"time"
+ "fmt"
)
func TestCreatePost(t *testing.T) {
@@ -534,6 +535,10 @@ func TestDeletePosts(t *testing.T) {
Client.LoginByEmail(team.Domain, userAdmin.Email, "pwd")
+ fmt.Println(userAdmin.Email)
+ fmt.Println(team.Email)
+ fmt.Println(userAdmin.Roles)
+
Client.Must(Client.DeletePost(channel1.Id, post4.Id))
}