public function GeolocationViewsProximityByEntityTest::testEmpty in Geolocation Field 8
Same name and namespace in other branches
- 8.3 tests/src/Functional/GeolocationViewsProximityByEntityTest.php \Drupal\Tests\geolocation\Functional\GeolocationViewsProximityByEntityTest::testEmpty()
- 8.2 tests/src/Functional/GeolocationViewsProximityByEntityTest.php \Drupal\Tests\geolocation\Functional\GeolocationViewsProximityByEntityTest::testEmpty()
Tests the proximity sort.
File
- tests/
src/ Functional/ GeolocationViewsProximityByEntityTest.php, line 29
Class
- GeolocationViewsProximityByEntityTest
- Tests the proximity views sort.
Namespace
Drupal\Tests\geolocation\FunctionalCode
public function testEmpty() {
$this
->drupalGet('geolocation-demo/proximity-by-entity-id/');
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertSession()
->responseNotContains('Closest Node');
$this
->assertSession()
->responseNotContains('130.18');
}