public function JsonResponseTest::testStaticCreateWithCustomStatus in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/JsonResponseTest.php \Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateWithCustomStatus()
File
- vendor/
symfony/ http-foundation/ Tests/ JsonResponseTest.php, line 127
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testStaticCreateWithCustomStatus() {
$response = JsonResponse::create(array(), 202);
$this
->assertSame(202, $response
->getStatusCode());
}