test: Use available setter.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user