Skip to content

Commit

Permalink
fix test test_author_is_still_available_after_on_finalize (#19)
Browse files Browse the repository at this point in the history
* fix test test_author_is_still_available_after_on_finalize

* fix warning
  • Loading branch information
librelois authored Jan 9, 2024
1 parent c0a493a commit d5a98c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pallets/author-inherent/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ fn test_author_is_still_available_after_on_finalize() {
);

AuthorInherent::on_initialize(block_number);
let _ = AuthorInherent::kick_off_authorship_validation(None.into());
AuthorInherent::on_finalize(block_number);
assert_eq!(Some(ALICE), <Author<Test>>::get());
});
Expand Down

0 comments on commit d5a98c2

Please sign in to comment.