Skip to content

Instantly share code, notes, and snippets.

@isidromerayo
Last active December 14, 2015 15:29
Show Gist options
  • Save isidromerayo/5108124 to your computer and use it in GitHub Desktop.
Save isidromerayo/5108124 to your computer and use it in GitHub Desktop.
symfony2 functional test using routes
<?php
$route = static::$kernel->getContainer()->get('router')->generate('hcuv_comment_create', array('blog_id' => 1));
$crawler = $client->request('POST', $route);
$messageError = ''; // $crawler->filter('div.text_exception h1')->text();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment