From 64d6796c11b03dd3f635c7a5015c8001775785b0 Mon Sep 17 00:00:00 2001 From: librelois Date: Tue, 9 Jan 2024 12:08:52 +0100 Subject: [PATCH] fix test test_author_is_still_available_after_on_finalize --- 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 f8e86c5..8579f4f 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); + AuthorInherent::kick_off_authorship_validation(None.into()); AuthorInherent::on_finalize(block_number); assert_eq!(Some(ALICE), >::get()); });