Skip to content

Commit

Permalink
Fix leftover from previous implementation in test
Browse files Browse the repository at this point in the history
  • Loading branch information
max-dfinity committed Jan 22, 2025
1 parent c899296 commit 2cb212d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rs/nns/test_utils/src/state_test_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1591,8 +1591,7 @@ pub fn list_all_neurons_and_combine_responses(
let mut response = list_neurons(state_machine, sender, request.clone());

// TODO use the variable from NNS Governance
let pages_needed =
(response.total_pages_available.unwrap()).div_ceil(request.page_size.unwrap_or(500));
let pages_needed = response.total_pages_available.unwrap();

for page in 1..=pages_needed {
let mut new_request = request.clone();
Expand Down

0 comments on commit 2cb212d

Please sign in to comment.