silverstripe-subsites/tests/php/SubsitesVirtualPageTest.yml

13 lines
430 B
YAML
Raw Permalink Normal View History

# These need to come first so that SiteTree has the link meta-data written.
SilverStripe\Assets\File:
file1:
FileFilename: testscript-test-file.pdf
FileHash: 464dedb70af0dc7f8f3360e7f3ae43cbbf1cdf4e
Name: testscript-test-file.pdf
SilverStripe\CMS\Model\SiteTree:
page1:
Title: page1
URLSegment: page1
Content: '<p><img src="/assets/SubsitesVirtualPageTest/464dedb70a/testscript-test-file.pdf" /></p>'