function RestExampleActionTest::testClientNode

Same name in other branches
  1. 3.x modules/rest_example/tests/src/Functional/RestExampleActionTest.php \Drupal\Tests\rest_example\Funtional\RestExampleActionTest::testClientNode()

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');
}