From 2f3fbd0c14ae21851cadf537fff9962b62d27d6c Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 24 Jul 2020 17:52:46 +0100 Subject: [PATCH] Sigh.. linting --- syncapi/consumers/keychange_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/syncapi/consumers/keychange_test.go b/syncapi/consumers/keychange_test.go index bb1cf890f..9e7ede1fe 100644 --- a/syncapi/consumers/keychange_test.go +++ b/syncapi/consumers/keychange_test.go @@ -138,7 +138,7 @@ func leaveResponseWithRooms(syncResponse *types.Response, userID string, roomIDs // tests that joining a room which results in sharing a new user includes that user in `changed` func TestKeyChangeCatchupOnJoinShareNewUser(t *testing.T) { - newShareUser := "@bob:localhost" + newShareUser := "@bill:localhost" newlyJoinedRoom := "!TestKeyChangeCatchupOnJoinShareNewUser:bar" consumer := NewOutputKeyChangeEventConsumer(gomatrixserverlib.ServerName("localhost"), "some_topic", nil, &mockCurrentStateAPI{ roomIDToJoinedMembers: map[string][]string{ @@ -161,7 +161,7 @@ func TestKeyChangeCatchupOnJoinShareNewUser(t *testing.T) { // tests that leaving a room which results in sharing no rooms with a user includes that user in `left` func TestKeyChangeCatchupOnLeaveShareLeftUser(t *testing.T) { - removeUser := "@bob:localhost" + removeUser := "@bill:localhost" newlyLeftRoom := "!TestKeyChangeCatchupOnLeaveShareLeftUser:bar" consumer := NewOutputKeyChangeEventConsumer(gomatrixserverlib.ServerName("localhost"), "some_topic", nil, &mockCurrentStateAPI{ roomIDToJoinedMembers: map[string][]string{ @@ -228,7 +228,7 @@ func TestKeyChangeCatchupOnLeaveShareNoUsers(t *testing.T) { // tests that not joining any rooms (but having messages in the response) do not result in changes. func TestKeyChangeCatchupNoNewJoinsButMessages(t *testing.T) { - existingUser := "@bob:localhost" + existingUser := "@bob1:localhost" roomID := "!TestKeyChangeCatchupNoNewJoinsButMessages:bar" consumer := NewOutputKeyChangeEventConsumer(gomatrixserverlib.ServerName("localhost"), "some_topic", nil, &mockCurrentStateAPI{ roomIDToJoinedMembers: map[string][]string{ @@ -288,7 +288,7 @@ func TestKeyChangeCatchupNoNewJoinsButMessages(t *testing.T) { // tests that joining/leaving multiple rooms can result in both `changed` and `left` and they are not duplicated. func TestKeyChangeCatchupChangeAndLeft(t *testing.T) { newShareUser := "@berta:localhost" - newShareUser2 := "@bob:localhost" + newShareUser2 := "@bobby:localhost" newlyLeftUser := "@charlie:localhost" newlyLeftUser2 := "@debra:localhost" newlyJoinedRoom := "!join:bar" @@ -327,7 +327,7 @@ func TestKeyChangeCatchupChangeAndLeft(t *testing.T) { // Ergo, we put them in `left` as it is simpler. func TestKeyChangeCatchupChangeAndLeftSameRoom(t *testing.T) { newShareUser := "@berta:localhost" - newShareUser2 := "@bob:localhost" + newShareUser2 := "@bobby:localhost" roomID := "!join:bar" consumer := NewOutputKeyChangeEventConsumer(gomatrixserverlib.ServerName("localhost"), "some_topic", nil, &mockCurrentStateAPI{ roomIDToJoinedMembers: map[string][]string{