Created
July 17, 2016 15:49
-
-
Save pboethig/5a2bfea1cc3f3344ef7b29c22e3f0d9f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Check\BlogBundle\Tests\Controller; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
class UserApiTest extends WebTestCase | |
{ | |
public function testRouteIsAvaliable() | |
{ | |
$client = static::createClient(); | |
$crawler = $client->request('POST' ,'/api/user'); | |
$this->assertEquals(500, $client->getResponse()->getStatusCode()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment