SchemaMetatagHowToTest.test in Schema.org Metatag 7
File
schema_how_to/tests/SchemaMetatagHowToTest.test
View source
<?php
class SchemaMetatagHowToTest extends SchemaMetatagTagsTestBase {
public static function getInfo() {
return array(
'name' => 'Schema Metatag: HowTo',
'description' => 'Test the schema_how_to meta tags.',
'group' => 'Schema Metatag',
'dependencies' => [
'ctools',
'token',
'metatag',
'schema_metatag',
'schema_how_to',
],
);
}
public function setUp(array $modules = array()) {
$modules[] = 'schema_how_to';
parent::setUp($modules);
}
public $moduleName = 'schema_how_to';
public $schemaTags = [
'schema_how_to.@type' => 'SchemaHowToType',
'schema_how_to.name' => 'SchemaNameBase',
'schema_how_to.step' => 'SchemaHowToStepBase',
'schema_how_to.description' => 'SchemaNameBase',
'schema_how_to.image' => 'SchemaImageBase',
'schema_how_to.estimatedCost' => 'SchemaMonetaryAmountBase',
'schema_how_to.supply' => 'SchemaNameBase',
'schema_how_to.tool' => 'SchemaNameBase',
];
}