Browse Source

unauthorized test with meaning string

master
Patrick Peng Sun 8 years ago
parent
commit
746b8422ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server_test.go

+ 1
- 1
server_test.go View File

@@ -70,7 +70,7 @@ func TestPostTxtMsg(t *testing.T) {
func TestGetAccesstoken(t *testing.T) {
req := buildReqGetAccessToken()
rr, _ := getHTTPResponse(req, supplyAccessToken)
errorResponse := "errortoken"
errorResponse := "unauthorized"
m := rr.Body.String()
expected, _ := GetAccessToken()
log.Printf("TestGetAccesstoken got: [%s] ", m)

Loading…
Cancel
Save