caldav.feature 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. Feature: caldav
  2. Scenario: Accessing a not existing calendar of another user
  3. Given user "user0" exists
  4. When "admin" requests calendar "user0/MyCalendar"
  5. Then The CalDAV HTTP status code should be "404"
  6. And The exception is "Sabre\DAV\Exception\NotFound"
  7. And The error message is "Node with name 'MyCalendar' could not be found"
  8. # Blocked by https://github.com/php/php-src/pull/1417
  9. #Scenario: Accessing a not shared calendar of another user
  10. # Given user "user0" exists
  11. # Given "admin" creates a calendar named "MyCalendar"
  12. # Given The CalDAV HTTP status code should be "201"
  13. # When "user0" requests calendar "admin/MyCalendar"
  14. # Then The CalDAV HTTP status code should be "404"
  15. # And The exception is "Sabre\DAV\Exception\NotFound"
  16. # And The error message is "Node with name 'MyCalendar' could not be found"
  17. Scenario: Accessing a not existing calendar of myself
  18. Given user "user0" exists
  19. When "user0" requests calendar "admin/MyCalendar"
  20. Then The CalDAV HTTP status code should be "404"
  21. And The exception is "Sabre\DAV\Exception\NotFound"
  22. And The error message is "Node with name 'MyCalendar' could not be found"
  23. # Blocked by https://github.com/php/php-src/pull/1417
  24. #Scenario: Creating a new calendar
  25. # When "admin" creates a calendar named "MyCalendar"
  26. # Then The CalDAV HTTP status code should be "201"
  27. # And "admin" requests calendar "admin/MyCalendar"
  28. # Then The CalDAV HTTP status code should be "200"