PHP Classes

File: vendor/sensio/generator-bundle/Resources/skeleton/crud/tests/others/short_scenario.php.twig

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/sensio/generator-bundle/Resources/skeleton/crud/tests/others/short_scenario.php.twig   Download  
File: vendor/sensio/generator-bundle/Resources/skeleton/crud/tests/others/short_scenario.php.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 7 years ago
Size: 601 bytes
 

Contents

Class file image Download
public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); // Go to the list view $crawler = $client->request('GET', '/{{ route_prefix }}/'); $this->assertEquals(200, $client->getResponse()->getStatusCode(), "Unexpected HTTP status code for GET /{{ route_prefix }}/"); // Go to the show view $crawler = $client->click($crawler->selectLink('show')->link()); $this->assertEquals(200, $client->getResponse()->getStatusCode(), "Unexpected HTTP status code"); }