public function SchemaMetatagTagsTestBase::getPaths in Schema.org Metatag 7
Paths to test.
Tags that need to be tested on other paths can extend this method.
[$config_path, $rendered_path, $message]
Examples: // Global options. [ 'admin/config/search/metatags/config/global', 'moosqueakoinkmeow', 'Saved the Global Metatag defaults.', ], // The front page. [ 'admin/config/search/metatags/config/front', '<front>', 'Saved the Front page Metatag defaults.', ],
1 call to SchemaMetatagTagsTestBase::getPaths()
- SchemaMetatagTagsTestBase::testTagsInputOutput in tests/
schema_metatag.base.test - Confirm that tags can be saved and that the output of each tag is correct.
File
- tests/
schema_metatag.base.test, line 187
Class
- SchemaMetatagTagsTestBase
- Base class for testing a module's custom tags.
Code
public function getPaths() {
return [
[
'admin/config/search/metatags/config/global',
'moosqueakoinkmeow',
'The meta tag defaults for Global have been saved.',
],
];
}