# Tests if timetable can be created # Create timetable POST http://localhost/wordpress/wp-json/reservations/v1/timetable { "name": "Test Timetable" } HTTP 200 [Captures] object_id: jsonpath "$" # Get timetable GET http://localhost/wordpress/wp-json/reservations/v1/timetable/{{object_id}} HTTP 200 [Asserts] jsonpath "$.name" == "Test Timetable" jsonpath "$.id" == "{{object_id}}"