mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
25c453fe7b
Updated VersionedTest to also check an Object with a single stage in the canView test.
37 lines
733 B
YAML
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'
|