SchemaMetatagPlaceTest.test in Schema.org Metatag 7
File
schema_place/tests/SchemaMetatagPlaceTest.test
View source
<?php
class SchemaMetatagPlaceTest extends SchemaMetatagTagsTestBase {
public static function getInfo() {
return array(
'name' => 'Schema Metatag: Place',
'description' => 'Test the schema_place meta tags.',
'group' => 'Schema Metatag',
'dependencies' => [
'ctools',
'token',
'metatag',
'schema_metatag',
'schema_place',
],
);
}
public function setUp(array $modules = array()) {
$modules[] = 'schema_place';
parent::setUp($modules);
}
public $moduleName = 'schema_place';
public $schemaTags = [
'schema_place.@type' => 'SchemaPlaceType',
'schema_place.name' => 'SchemaNameBase',
'schema_place.description' => 'SchemaNameBase',
'schema_place.image' => 'SchemaImageBase',
'schema_place.telephone' => 'SchemaNameBase',
'schema_place.url' => 'SchemaNameBase',
'schema_place.address' => 'SchemaAddressBase',
'schema_place.geo' => 'SchemaGeoBase',
];
}