dev3cplusnow's avatar

Call in a test with parameters

Hello,

I'm trying to make a call to a URL using GET method and parameters, this way:

$this->call('GET', 'company', ['foo'=>'bar']);

or

$this->call('GET', 'company?foo=bar');

but either don't work. Any idea about how to do this call?

0 likes
2 replies
dev3cplusnow's avatar

There's nothing, simply the parameters don't go to the route. If I go to the browser and type: company?foo=bar I can get the parameter, but in the test no. :(

Please or to participate in this conversation.