Explorar el Código

unauthorized test with meaning string

master
Patrick Peng Sun hace 8 años
padre
commit
746b8422ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      server_test.go

+ 1
- 1
server_test.go Ver fichero

@@ -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)

Cargando…
Cancelar
Guardar