瀏覽代碼

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