From d5a98c2f05a4b54940d6bf8c21cb2555e167d0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= Date: Tue, 9 Jan 2024 12:36:13 +0100 Subject: [PATCH] fix test test_author_is_still_available_after_on_finalize (#19) * fix test test_author_is_still_available_after_on_finalize * fix warning --- pallets/author-inherent/src/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/author-inherent/src/tests.rs b/pallets/author-inherent/src/tests.rs index f8e86c5f..0bae3104 100644 --- a/pallets/author-inherent/src/tests.rs +++ b/pallets/author-inherent/src/tests.rs @@ -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), >::get()); });