aboutsummaryrefslogtreecommitdiff
path: root/syncapi/internal/keychange_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/internal/keychange_test.go')
-rw-r--r--syncapi/internal/keychange_test.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/syncapi/internal/keychange_test.go b/syncapi/internal/keychange_test.go
index f65db0a5..9eaeda75 100644
--- a/syncapi/internal/keychange_test.go
+++ b/syncapi/internal/keychange_test.go
@@ -18,11 +18,9 @@ var (
syncingUser = "@alice:localhost"
emptyToken = types.StreamingToken{}
newestToken = types.StreamingToken{
- Logs: map[string]*types.LogPosition{
- DeviceListLogName: {
- Offset: sarama.OffsetNewest,
- Partition: 0,
- },
+ DeviceListPosition: types.LogPosition{
+ Offset: sarama.OffsetNewest,
+ Partition: 0,
},
}
)