silverstripe-framework/tests/model/VersionedTest.yml
Roman Schmid 25c453fe7b Fixed issue where canViewVersioned caused a DB error when Versioned was used with stages other than the default "Stage" and "Live".
Updated VersionedTest to also check an Object with a single stage in the canView test.
2016-03-22 09:42:21 +01:00

37 lines
733 B
YAML

VersionedTest_DataObject:
page1:
Title: Page 1
page2:
Title: Page 2
page3:
Title: Page 3
page2a:
Parent: =>VersionedTest_DataObject.page2
Title: Page 2a
page2b:
Parent: =>VersionedTest_DataObject.page2
Title: Page 2b
page3a:
Parent: =>VersionedTest_DataObject.page3
Title: Page 3a
page3b:
Parent: =>VersionedTest_DataObject.page3
Title: Page 3b
VersionedTest_PublicStage:
public1:
Title: 'Some page'
VersionedTest_PublicViaExtension:
public2:
Title: 'Another page'
VersionedTest_AnotherSubclass:
subclass1:
Title: 'Subclass Page 1'
AnotherField: 'Bob'
VersionedTest_SingleStage:
single:
Title: 'Singlestage Title'