From dc6ecbd8e8bfca79344830cb5035dd83ac50de8d Mon Sep 17 00:00:00 2001 From: Paul Meyrick Date: Fri, 18 Mar 2011 16:38:18 +1300 Subject: [PATCH] Minor Moved SiteTreeTest.yml from sapphire/tests to cms module cms/tests --- tests/SiteTreeTest.yml | 82 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100755 tests/SiteTreeTest.yml diff --git a/tests/SiteTreeTest.yml b/tests/SiteTreeTest.yml new file mode 100755 index 00000000..f4fe7275 --- /dev/null +++ b/tests/SiteTreeTest.yml @@ -0,0 +1,82 @@ +Group: + editors: + Title: Editors + admins: + Title: Administrators + +Permission: + admins: + Code: ADMIN + Group: =>Group.admins + editors: + Code: CMS_ACCESS_CMSMain + Group: =>Group.editors + +Member: + editor: + FirstName: Test + Surname: Editor + Groups: =>Group.editors + admin: + FirstName: Test + Surname: Administrator + Groups: =>Group.admins + +Page: + home: + Title: Home + CanEditType: OnlyTheseUsers + EditorGroups: =>Group.admins + about: + Title: About Us + CanEditType: OnlyTheseUsers + EditorGroups: =>Group.admins + staff: + Title: Staff + URLSegment: my-staff + Parent: =>Page.about + ceo: + Title: CEO + Parent: =>Page.staff + staffduplicate: + Title: Staff + URLSegment: my-staff + Parent: =>Page.about + products: + Title: Products + CanEditType: OnlyTheseUsers + EditorGroups: =>Group.editors + product1: + Title: 1.1 Test Product + Parent: =>Page.products + CanEditType: Inherit + product2: + Title: Another Product + Parent: =>Page.products + CanEditType: Inherit + product3: + Title: Another Product + Parent: =>Page.products + CanEditType: Inherit + product4: + Title: Another Product + Parent: =>Page.products + CanEditType: OnlyTheseUsers + EditorGroups: =>Group.admins + contact: + Title: Contact Us + object: + Title: Object + controller: + Title: Controller + numericonly: + Title: 1930 + +SiteTreeTest_Conflicted: + parent: + Title: Parent + +ErrorPage: + 404: + Title: Page not Found + ErrorCode: 404 \ No newline at end of file