apple / ccs-caldavtester

CalDAV/CardDAV Testing Framework used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
57 stars 28 forks source link

sharing-invites: Extra cleanup and incorrect test for bad users #22

Open macosforgebot opened 12 years ago

macosforgebot commented 12 years ago

douglm@… originally submitted this as ticket:539


In sharing-invites.xml we have

   <test-suite name='Attempt broken invite'>
        <test name='1' ignore='no'>
            <description>POST invitation</description>
...
                <verify>
                    <callback>multistatusItems</callback>
                    <arg>
                        <name>424</name>
                        <value>$cuaddr2:</value>
                    </arg>
                    <arg>
                        <name>403</name>
                        <value>mailto:bogus@example.net</value>
                    </arg>
...

The first test should be for 200 as the server should accept all the good ones.

The next test also needs changing to check for a single notification rather than no notification

Also - same file it would be useful to add some extra cleanup to help after errors:

Added

    <request>
      <method>DELETE</method>
      <ruri>$calendarhome1:/shared2/</ruri>
    </request>
macosforgebot commented 10 years ago

@wsanchez originally submitted this as comment:6:⁠ticket:539