aboutsummaryrefslogtreecommitdiff
path: root/syncapi/internal
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2023-09-28 14:50:31 +0200
committerGitHub <noreply@github.com>2023-09-28 14:50:31 +0200
commit3d02c8103152fbb9a5401a091ef0f681a32bfeee (patch)
treebbb482679246990721742ce7f55810fe06b7a774 /syncapi/internal
parent1853f58cb492c423641636562c6aa6eb701426a2 (diff)
Fix tests for x86 (#3214)
Diffstat (limited to 'syncapi/internal')
-rw-r--r--syncapi/internal/history_visibility_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/internal/history_visibility_test.go b/syncapi/internal/history_visibility_test.go
index 984f90ed..24515bbb 100644
--- a/syncapi/internal/history_visibility_test.go
+++ b/syncapi/internal/history_visibility_test.go
@@ -58,7 +58,7 @@ type mockDB struct {
roomID string
}
-func (s *mockDB) SelectMembershipForUser(ctx context.Context, roomID string, userID string, pos int64) (string, int, error) {
+func (s *mockDB) SelectMembershipForUser(ctx context.Context, roomID string, userID string, pos int64) (string, int64, error) {
if roomID == s.roomID {
membership, ok := s.currentMembership[userID]
if !ok {