Open eynimeni opened 6 days ago
@eynimeni Could you, please, provide me with some sort of scenario (settings, expected outcome)
the scenarios as described in https://github.com/Wunderbyte-GmbH/moodle-mod_booking/issues/689 and the bookingoptions have a price set (or multiple prices for price-categories) it shouldn't be possible to book a bookingoption with price if a campaign is blocking it (at the moment, it is possible)
For the following:
great, thank you! I thought there was a problem because I tested with capability 'bookforothers' this enables booking (as for other conditions) maybe you could extend the test for one more person with this capability and make sure, he/she is able to book although campaign is displayed
Regarding tests @semteacher We need to adjust tests to make sure, that options aren't bookable when there is a price set. This is not working yet. I will fix it ASAP. @semteacher you could already start extending the tests (in a separate branch) - as a form of test driven development. I will be able to work on this from tuesday on (soonest)
689