Skip to content

Commit 79a9fe5

Browse files
committed
start purchase ticket test
1 parent 67dd104 commit 79a9fe5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_event_factory.cairo

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,15 @@ fn test_remove_organizer() {
132132

133133
event_factory.add_organizer(1, ACCOUNT1.try_into().unwrap());
134134
}
135+
136+
#[test]
137+
#[fork("SEPOLIA_LATEST")]
138+
fn test_purchase_ticket() {
139+
let (event_factory_address, _, _) = create_event();
140+
let event_factory = IEventFactoryDispatcher { contract_address: event_factory_address };
141+
142+
event_factory.add_organizer(1, ACCOUNT1.try_into().unwrap());
143+
}
135144
// #[test]
136145
// fn test_increase_balance() {
137146
// let contract_address = deploy_contract("EventFactory");

0 commit comments

Comments
 (0)