multi tenant chats (#79)

This commit is contained in:
Dominic Wong
2021-03-25 21:34:57 +00:00
committed by GitHub
parent 8e38c8b834
commit 88085c7044
9 changed files with 75 additions and 43 deletions

View File

@@ -1,7 +1,6 @@
package handler_test
import (
"context"
"testing"
"github.com/google/uuid"
@@ -43,7 +42,7 @@ func TestCreateChat(t *testing.T) {
for _, tc := range tt {
t.Run(tc.Name, func(t *testing.T) {
var rsp pb.CreateChatResponse
err := h.CreateChat(context.TODO(), &pb.CreateChatRequest{
err := h.CreateChat(microAccountCtx(), &pb.CreateChatRequest{
UserIds: tc.UserIDs,
}, &rsp)