Bolt\Tests\Controller\Async\GeneralTest::testAsyncBaseRoute PHP Метод

testAsyncBaseRoute() публичный Метод

public testAsyncBaseRoute ( )
    public function testAsyncBaseRoute()
    {
        $app = $this->getApp();
        $this->allowLogin($app);
        $this->setRequest(Request::create('/async'));
        $response = $this->controller()->async();
        $this->assertJson($response->getContent());
        $this->assertEquals('["OK"]', $response->getContent());
    }