diff --git a/pallets/conviction-voting/src/tests.rs b/pallets/conviction-voting/src/tests.rs
index d18bda853..503603087 100644
--- a/pallets/conviction-voting/src/tests.rs
+++ b/pallets/conviction-voting/src/tests.rs
@@ -1030,10 +1030,10 @@ fn errors_with_remove_vote_work() {
});
}
thread_local! {
- static LAST_ON_VOTE_DATA: RefCell