I run phpunit from the command line for a laravel website.
The output (first line) is:
.................FFFFFFFFFFFFFFFFF.FFFFFFFFF.FFFFFFFFFFFFFFFFF. 63 / 105 ( 60%)
However, all those tests run fine individually. It's when I run them all together that most of them fail.
All errors show code 500, 200 expected.
example:
<pre>
not ok 99 - Failure: TeamTest::testApiShow
---
message: 'A GET request to ''http://localhost/api/v1/teams/1'' failed. Got a 500 code instead.'
severity: fail
</pre>
Details
Error occurs in line 47 of [..]vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
line 47: return new PDO($dsn, $username, $password, $options);
full output: http://pastebin.com/bt29w7Lz config of phpunit: http://pastebin.com/pBT59aXM
phpunit --verbose
to get more useful output? – alarivaPDOException on [..]vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php line 47
– Michiel van der Blonk