test: Use available setter.

This commit is contained in:
Ivan Enderlin
2023-03-20 15:12:27 +01:00
parent d41293879a
commit 485ca402f4
@@ -232,7 +232,7 @@ async fn modifying_timeline_limit() -> anyhow::Result<()> {
// Sync to receive messages with a `timeline_limit` set to 20.
{
Observable::set(&mut list.timeline_limit.write().unwrap(), Some(uint!(20)));
list.set_timeline_limit(Some(uint!(20)));
let mut update_summary;