Hi,
Here is an example of my test:
public function testCitizenService() {
$response = $this->action('GET', 'QueryController@getIndex', array('service' => 'mx-citizen', 'strCurp' => '****'));
$response = json_decode($response->getContent());
$this->assertTrue((isset($response->result->lastName) && $response->result->lastName == 'VERA'));
}
As you see, I'm quering the application during it and then check the response.
The case is, that in the command line it looks like this:
All the internal queries which have place during the test are shown in the command line. I haven't done any additional configuration to ask the phpunit or laravel to do that, as I know.
The question is - how can I turn it off to have a clean test output?
Thanks
Ok, that was me at last.
my curl object was configured like:
curl_setopt($ch, CURLOPT_VERBOSE, 1);
turning it off makes the tests go silent.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community