Fix the tests

This commit is contained in:
Clément Renault
2023-11-23 12:07:35 +01:00
parent 0d4482625a
commit 462b4c0080
6 changed files with 33 additions and 60 deletions

View File

@ -1565,7 +1565,7 @@ mod tests {
})
.unwrap_err();
assert!(matches!(error, Error::UserError(UserError::PrimaryKeyCannotBeChanged(_))));
wtxn.abort().unwrap();
wtxn.abort();
// But if we clear the database...
let mut wtxn = index.write_txn().unwrap();