Syntro\SEO\Tests\DOMTest
Tests the DOM class to correctly produce a dom from a page
- Author: Matthias Leutenegger <hello@syntro.ch>
Synopsis
class DOMTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = './DOMFixture.yml';
- protected static boolean $use_draft_site = true;
- // methods
- public void setUp()
- public void testRetrievesDomFromPage()
- public void testRetrievesStrippedDomFromPage()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $fixture_file
—
string
Defines the fixture file to use for this test class - $use_draft_site — boolean
Methods
public
- setUp() — set up
- testRetrievesDomFromPage() — testDomGetter
- testRetrievesStrippedDomFromPage() — testDomGetter