Skip to content

Commit

Permalink
Fixed rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
elland committed Nov 28, 2022
1 parent 419818a commit 348573b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions services/galley/test/integration/API/MLS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2228,7 +2228,7 @@ testConvListINotncludesGlobalV1 = do
let paginationOpts = GetPaginatedConversationIds Nothing (toRange (Proxy @5))
listConvIdsV2 alice paginationOpts !!! do
const 200 === statusCode
const (Just [globalTeamConv tid]) =/~= (rightToMaybe . (<$$>) qUnqualified . decodeQualifiedConvIdList)
const (Just [globalTeamConv tid]) =/~= (hush . (<$$>) qUnqualified . decodeQualifiedConvIdList)

testConvListIncludesGlobal :: TestM ()
testConvListIncludesGlobal = do
Expand Down Expand Up @@ -2272,12 +2272,11 @@ testConvListIncludesGlobalBeforeGet = do
let paginationOpts = GetPaginatedConversationIds Nothing (toRange (Proxy @5))
listConvIds alice paginationOpts !!! do
const 200 === statusCode
const (Just [globalTeamConv tid]) =/~= (hush . (<$$>) qUnqualified . decodeQualifiedConvIdList)
const (Just [globalTeamConv tid]) =~= (hush . (<$$>) qUnqualified . decodeQualifiedConvIdList)

testConvListIncludesGlobalForNewUsers :: TestM ()
testConvListIncludesGlobalForNewUsers = do
localDomain <- viewFederationDomain
-- c <- view tsCannon
(tid, alice, [bob]) <- Util.createBindingTeamWithMembers 2
let aliceQ = Qualified alice localDomain
bobQ = Qualified bob localDomain
Expand All @@ -2292,11 +2291,11 @@ testConvListIncludesGlobalForNewUsers = do
let paginationOpts = GetPaginatedConversationIds Nothing (toRange (Proxy @5))
listConvIds alice paginationOpts !!! do
const 200 === statusCode
const (Just [globalTeamConv tid]) =/~= (hush . (<$$>) qUnqualified . decodeQualifiedConvIdList)
const (Just [globalTeamConv tid]) =~= (hush . (<$$>) qUnqualified . decodeQualifiedConvIdList)

listConvIds bob paginationOpts !!! do
const 200 === statusCode
const (Just [globalTeamConv tid]) =/~= (hush . (<$$>) qUnqualified . decodeQualifiedConvIdList)
const (Just [globalTeamConv tid]) =~= (hush . (<$$>) qUnqualified . decodeQualifiedConvIdList)

testGlobalTeamConversationMessage :: TestM ()
testGlobalTeamConversationMessage = do
Expand Down

0 comments on commit 348573b

Please sign in to comment.