mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 15:33:45 -04:00
test(sdk): Update to use EventCacheStoreLockState.
This commit is contained in:
@@ -292,7 +292,9 @@ mod tests_latest_event {
|
||||
.event_cache_store()
|
||||
.lock()
|
||||
.await
|
||||
.unwrap()
|
||||
.expect("Could not acquire the event cache lock")
|
||||
.as_clean()
|
||||
.expect("Could not acquire a clean event cache lock")
|
||||
.handle_linked_chunk_updates(
|
||||
LinkedChunkId::Room(&room_id),
|
||||
vec![
|
||||
@@ -410,7 +412,9 @@ mod tests_latest_event {
|
||||
.event_cache_store()
|
||||
.lock()
|
||||
.await
|
||||
.unwrap()
|
||||
.expect("Could not acquire the event cache lock")
|
||||
.as_clean()
|
||||
.expect("Could not acquire a clean event cache lock")
|
||||
.handle_linked_chunk_updates(
|
||||
LinkedChunkId::Room(&room_id),
|
||||
vec![
|
||||
@@ -1693,7 +1697,9 @@ mod tests_latest_event_value_builder {
|
||||
.event_cache_store()
|
||||
.lock()
|
||||
.await
|
||||
.unwrap()
|
||||
.expect("Could not acquire the event cache lock")
|
||||
.as_clean()
|
||||
.expect("Could not acquire a clean event cache lock")
|
||||
.handle_linked_chunk_updates(
|
||||
LinkedChunkId::Room(room_id),
|
||||
vec![
|
||||
@@ -2316,7 +2322,9 @@ mod tests_latest_event_value_builder {
|
||||
.event_cache_store()
|
||||
.lock()
|
||||
.await
|
||||
.unwrap()
|
||||
.expect("Could not acquire the event cache lock")
|
||||
.as_clean()
|
||||
.expect("Could not acquire a clean event cache lock")
|
||||
.handle_linked_chunk_updates(
|
||||
LinkedChunkId::Room(room_id),
|
||||
vec![
|
||||
|
||||
Reference in New Issue
Block a user