I am using Laracasts\Integrated library to test my web application. I have a form like this:
<select multiple name="resource[]">
<option value="Coal">Coal</option>
<option value="Another">Aluminum</option>
.
.
</select>
My test case is:
$this->select('resource[]' , ['Coal' , 'Another']);
i get error:
Symfony\Component\CssSelector\Exception\SyntaxErrorException: Expected identifier│ or "*", but <delimiter "]" at 11> found.
Please help me .
Aucun commentaire:
Enregistrer un commentaire