test(postgres): fix unreliable test that depends on the sequence number

This commit is contained in:
Ryan Leckey 2020-07-05 04:40:13 -07:00
parent 699df28088
commit 41df13ba5a

View File

@ -33,7 +33,7 @@ async fn test_non_null() -> anyhow::Result<()> {
.fetch_one(&mut tx)
.await?;
assert_eq!(row.id, 1);
assert!(row.id > 0);
assert_eq!(row.text, "Hello");
assert_eq!(row.owner_id, None);