You are here

public function RestExampleActionTest::testClientNode in Examples for Developers 3.x

Test that we access the client side View.

Throws

\Behat\Mink\Exception\ExpectationException

File

modules/rest_example/tests/src/Functional/RestExampleActionTest.php, line 58

Class

RestExampleActionTest
Verify that the Views are accessible.

Namespace

Drupal\Tests\rest_example\Funtional

Code

public function testClientNode() {
  $this
    ->drupalGet('examples/rest-client-actions');
  $this
    ->assertSession()
    ->responseContains('Nodes on the remote Drupal server');
}