\DocumentationViewerTest
Some of these tests are simply checking that pages load. They should not assume somethings working.
Synopsis
class DocumentationViewerTest
extends FunctionalTest
{
- // members
- protected boolean $autoFollowRedirection = false;
- protected $manifest;
- // methods
- public void setUp()
- public void tearDown()
- public void testLocationsExists()
- public void testGetMenu()
- public void testGetLanguage()
- public void testAccessingAll()
- public void testRedirectStripExtension()
- public void testCanonicalUrlIsIncludedInLayout()
- public void testCanonicalUrlIsEmptyWhenNoPageExists()
Hierarchy
Extends
- FunctionalTest
Members
protected
- $autoFollowRedirection
- $manifest
Methods
public
- setUp()
- tearDown()
- testAccessingAll()
- testCanonicalUrlIsEmptyWhenNoPageExists()
- testCanonicalUrlIsIncludedInLayout()
- testGetLanguage()
- testGetMenu()
- testLocationsExists() — This tests that all the locations will exist if we access it via the urls.
- testRedirectStripExtension()