소스 검색

Fix test.

Chris Rhodes 8 년 전
부모
커밋
544d1dfcb5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      discord_test.go

+ 1 - 1
discord_test.go

@@ -216,7 +216,7 @@ func TestOpenClose(t *testing.T) {
 	// UpdateStatus - maybe we move this into wsapi_test.go but the websocket
 	// created here is needed.  This helps tests that the websocket was setup
 	// and it is working.
-	if err = d.UpdateStatus(0, time.Now().String()); err != nil {
+	if err = d.UpdateStatus(0, time.Now().String(), ""); err != nil {
 		t.Errorf("UpdateStatus error: %+v", err)
 	}