function RestExampleActionTest::testServerView
Test that we can access the server side View.
Throws
\Behat\Mink\Exception\ExpectationException
File
-
modules/
rest_example/ tests/ src/ Functional/ RestExampleActionTest.php, line 74
Class
- RestExampleActionTest
- Verify that the Views are accessible.
Namespace
Drupal\Tests\rest_example\FunctionalCode
public function testServerView() {
$this->drupalGet('rest/node');
$this->assertSession()
->responseContains('[]');
}