geolocation-8.x-3.x-dev/tests/src/Functional/GeolocationViewsCommonMapTest.php

tests/src/Functional/GeolocationViewsCommonMapTest.php
<?php

namespace Drupal\Tests\geolocation\Functional;

use Drupal\Tests\BrowserTestBase;

/**
 * Tests the grid style plugin.
 *
 * @group geolocation
 */
class GeolocationViewsCommonMapTest extends BrowserTestBase {

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'node',
    'field',
    'views',
    'taxonomy',
    'geolocation',
    'geolocation_demo',
    'geolocation_google_maps',
    'geolocation_google_maps_demo',
  ];

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

  /**
   * Tests the boundary filter.
   */
  public function testStaticCommonMap(): void {
    $this->drupalGet('geolocation-demo/common-map');
    $this->assertSession()->statusCodeEquals(200);
  }

  /**
   * Tests the boundary filter.
   */
  public function testAjaxCommonMap(): void {
    $this->drupalGet('geolocation-demo/common-map-ajax');
    $this->assertSession()->statusCodeEquals(200);
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc