GeolocationViewsCommonMapTest.php in Geolocation Field 8
File
tests/src/Functional/GeolocationViewsCommonMapTest.php
View source
<?php
namespace Drupal\Tests\geolocation\Functional;
use Drupal\Tests\BrowserTestBase;
class GeolocationViewsCommonMapTest extends BrowserTestBase {
public static $modules = [
'node',
'field',
'views',
'taxonomy',
'geolocation',
'geolocation_demo',
];
public function testStaticCommonMap() {
$this
->drupalGet('geolocation-demo/common-map');
$this
->assertSession()
->statusCodeEquals(200);
}
public function testAjaxCommonMap() {
$this
->drupalGet('geolocation-demo/common-map-ajax');
$this
->assertSession()
->statusCodeEquals(200);
}
}