\ModularPageTest
Synopsis
class ModularPageTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'ModularPageTest.yml';
- // methods
- public void testPageCreation()
- public void testAddModule()
- public void testModuleRender()
- public void testAllowedModules()
Hierarchy
Extends
- SapphireTest
Members
protected
- $fixture_file
Methods
public
- testAddModule() — Test that the page can hold a module.
- testAllowedModules() — Test that pages can filter the list of modules allowed.
- testModuleRender() — Test that the module render method is producing content.
- testPageCreation() — Test that we're able to create a ModularPage.