Skip to content

Commit

Permalink
scarb fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianfranco99 committed Oct 26, 2024
1 parent 3fd0aa7 commit 8c6a41f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/test_contract.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,20 @@ fn test_event_registration() {
let event_details = event_dispatcher.event_details(event_id);
let attendee_registration_details = event_dispatcher.attendee_event_details(event_id);


assert(attendee_registration_details.attendee_address == user_two_address, 'attendee_address mismatch');
assert(
attendee_registration_details.attendee_address == user_two_address,
'attendee_address mismatch'
);
assert(attendee_registration_details.amount_paid == 0, 'amount_paid mismatch');
assert(attendee_registration_details.has_rsvp == false, 'has_rsvp mismatch');
assert(
attendee_registration_details.nft_contract_address == user_two_address,
'nft_contract_address mismatch'
);
assert(attendee_registration_details.nft_token_id == 0, 'nft_token_id mismatch');
assert(attendee_registration_details.organizer == event_details.organizer, 'organizer mismatch');
assert(
attendee_registration_details.organizer == event_details.organizer, 'organizer mismatch'
);
stop_cheat_caller_address(event_contract_address);
}

Expand Down

0 comments on commit 8c6a41f

Please sign in to comment.