SchemaHowToTest.php in Schema.org Metatag 8
File
schema_how_to/tests/src/Functional/SchemaHowToTest.php
View source
<?php
namespace Drupal\Tests\schema_how_to\Functional;
use Drupal\Tests\schema_metatag\Functional\SchemaMetatagTagsTestBase;
class SchemaHowToTest extends SchemaMetatagTagsTestBase {
protected static $modules = [
'schema_how_to',
];
public $moduleName = 'schema_how_to';
public $schemaTagsNamespace = '\\Drupal\\schema_how_to\\Plugin\\metatag\\Tag\\';
public $schemaTags = [
'schema_how_to_type' => 'SchemaHowToType',
'schema_how_to_name' => 'SchemaHowToName',
'schema_how_to_step' => 'SchemaHowToStep',
'schema_how_to_description' => 'SchemaHowToDescription',
'schema_how_to_image' => 'SchemaHowToImage',
'schema_how_to_estimated_cost' => 'SchemaHowToEstimatedCost',
'schema_how_to_supply' => 'SchemaHowToSupply',
'schema_how_to_tool' => 'SchemaHowToTool',
];
}
Classes
Name |
Description |
SchemaHowToTest |
Tests that each of the Schema Metatag HowTo tags work correctly. |