You are here

SchemaItemListTest.php in Schema.org Metatag 8

Same filename and directory in other branches
  1. 8.2 schema_item_list/tests/src/Functional/SchemaItemListTest.php

File

schema_item_list/tests/src/Functional/SchemaItemListTest.php
View source
<?php

namespace Drupal\Tests\schema_item_list\Functional;

use Drupal\Tests\schema_metatag\Functional\SchemaMetatagTagsTestBase;

/**
 * Tests that each of the Schema Metatag Articles tags work correctly.
 *
 * @group schema_metatag
 * @group schema_item_list
 */
class SchemaItemListTest extends SchemaMetatagTagsTestBase {

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

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

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

  /**
   * {@inheritdoc}
   */
  public $schemaTags = [
    'schema_item_list_item_list_element' => 'SchemaItemListItemListElement',
    'schema_item_list_main_entity_of_page' => 'SchemaItemListMainEntityOfPage',
    'schema_item_list_type' => 'SchemaItemListType',
  ];

}

Classes

Namesort descending Description
SchemaItemListTest Tests that each of the Schema Metatag Articles tags work correctly.