mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 01:41:01 +00:00
Debug random test failure (#4275)
This commit is contained in:
parent
719b76a6e7
commit
7a182c982b
1 changed files with 2 additions and 0 deletions
|
@ -230,6 +230,7 @@ mod tests {
|
|||
|
||||
#[tokio::test]
|
||||
#[serial]
|
||||
#[allow(clippy::dbg_macro)]
|
||||
async fn exclude_deleted() {
|
||||
let pool = &build_db_pool_for_tests().await;
|
||||
let pool = &mut pool.into();
|
||||
|
@ -256,6 +257,7 @@ mod tests {
|
|||
.list(pool)
|
||||
.await
|
||||
.unwrap();
|
||||
dbg!(&list);
|
||||
assert_eq!(list.len(), 1);
|
||||
assert_eq!(list[0].person.id, data.bob.id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue