Acompanhei o passo a passo da aula mas ao rodar o phpunit recebo este erro:
ingrid.grelo@QAV-WS015:~/work/alura/mocks$ phpunit PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
..............E 15 / 15 (100%)
Time: 76 ms, Memory: 10.00 MB
There was 1 error:
1) Alura\Leilao\Tests\Service\EncerradorTest::testleiloesComMaisDeUmaSemanaDevemSerEncerrados PDOException: could not find driver
/home/ingrid.grelo/work/alura/mocks/src/Infra/ConnectionCreator.php:15 /home/ingrid.grelo/work/alura/mocks/src/Dao/Leilao.php:14 /home/ingrid.grelo/work/alura/mocks/tests/Service/EncerradorTest.php:57
ERRORS! Tests: 15, Assertions: 25, Errors: 1.
Aconteceu antes e depois de implementar o duble... não sei como resolver :(