Description: Ensure data integrity during event registration by verifying that all ticket tiers provided have unique IDs. Duplicate IDs can lead to inventory management errors. Tasks:
Add a uniqueness check for tier IDs in register_event.
Return a DuplicateTierId error if a collision is detected.
Add a test case with duplicated tier IDs.
Description: Ensure data integrity during event registration by verifying that all ticket tiers provided have unique IDs. Duplicate IDs can lead to inventory management errors. Tasks:
Add a uniqueness check for tier IDs in register_event.
Return a DuplicateTierId error if a collision is detected.
Add a test case with duplicated tier IDs.