mardi 12 janvier 2016

File download test in Symfony

I need to test if file will start download when user click on button.

Right now I'm clicking on download button "a.btn-info" via client and it just print text from file into PHPUnit console

$client->request('GET', $crawler->filter('a.btn-info')->attr('href'));

Thank you :)

Aucun commentaire:

Enregistrer un commentaire