You are here

SchemaHowToTest.php in Schema.org Metatag 8

Same filename and directory in other branches
  1. 8.2 schema_how_to/tests/src/Functional/SchemaHowToTest.php

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;

/**
 * Tests that each of the Schema Metatag HowTo tags work correctly.
 *
 * @group schema_metatag
 * @group schema_how_to
 */
class SchemaHowToTest extends SchemaMetatagTagsTestBase {

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'schema_how_to',
  ];

  /**
   * {@inheritdoc}
   */
  public $moduleName = 'schema_how_to';

  /**
   * {@inheritdoc}
   */
  public $schemaTagsNamespace = '\\Drupal\\schema_how_to\\Plugin\\metatag\\Tag\\';

  /**
   * {@inheritdoc}
   */
  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

Namesort descending Description
SchemaHowToTest Tests that each of the Schema Metatag HowTo tags work correctly.