Skip to content

Commit

Permalink
fix: set_contract_address (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
julio4 authored Oct 5, 2023
1 parent a08c32e commit a8d000b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listings/ch00-introduction/testing/src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ mod simple_contract_tests {
#[available_gas(2000000000)]
fn test_set_not_owner() {
let owner = contract_address_const::<1>();
set_caller_address(owner);
set_contract_address(owner);

let contract = deploy(10);

Expand Down

0 comments on commit a8d000b

Please sign in to comment.