We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67dd104 commit 79a9fe5Copy full SHA for 79a9fe5
tests/test_event_factory.cairo
@@ -132,6 +132,15 @@ fn test_remove_organizer() {
132
133
event_factory.add_organizer(1, ACCOUNT1.try_into().unwrap());
134
}
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
+}
144
// #[test]
145
// fn test_increase_balance() {
146
// let contract_address = deploy_contract("EventFactory");
0 commit comments