Skip to content

Commit

Permalink
Add missing initialize call to test
Browse files Browse the repository at this point in the history
  • Loading branch information
cptartur committed May 28, 2024
1 parent ac3afa1 commit e802901
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/nqg_token/tests/e2e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ fn updating_balances() {
let governance_address = env.register_contract_wasm(None, governance::WASM);
let governance_client = governance::Client::new(&env, &governance_address);

let governor_wrapper_address = env.register_contract(None, NQGToken);
let nqg_token_client = NQGTokenClient::new(&env, &governor_wrapper_address);
let nqg_token_address = env.register_contract(None, NQGToken);
let nqg_token_client = NQGTokenClient::new(&env, &nqg_token_address);

governance_client.initialize(&admin, &25);
nqg_token_client.initialize(&admin, &governance_address);

let neurons = vec![
&env,
Expand Down

0 comments on commit e802901

Please sign in to comment.