ForkCMS\Bundle\InstallerBundle\Tests\Controller\InstallerControllerTest::runTroughStep3 PHP Метод

runTroughStep3() приватный Метод

private runTroughStep3 ( Crawler $crawler, Client $client ) : mixed
$crawler Symfony\Component\DomCrawler\Crawler
$client Symfony\Bundle\FrameworkBundle\Client
Результат mixed
    private function runTroughStep3($crawler, $client)
    {
        $form = $crawler->selectButton('Next')->form();
        $client->submit($form, array());
        $crawler = $client->followRedirect();
        // we should be redirected to step 4
        self::assertEquals(200, $client->getResponse()->getStatusCode());
        self::assertStringEndsWith('/install/4', $client->getHistory()->current()->getUri());
        return $crawler;
    }