Skip to content

Commit

Permalink
Merge pull request #1218 from greg0ire/fix-build
Browse files Browse the repository at this point in the history
Add missing method
  • Loading branch information
ostrolucky authored Sep 26, 2020
2 parents ec91bc8 + 5f0d5bf commit 427aec6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tests/ConnectionFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Doctrine\Bundle\DoctrineBundle\ConnectionFactory;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
use Doctrine\DBAL\Driver\API\ExceptionConverter;
use Doctrine\DBAL\Exception\DriverException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\MySqlPlatform;
Expand Down Expand Up @@ -125,6 +126,11 @@ public function getDatabase(Connection $conn) : string
{
return 'fake_db';
}

public function getExceptionConverter() : ExceptionConverter
{
throw new Exception('not implemented');
}
}

class FakeConnection extends Connection
Expand Down

0 comments on commit 427aec6

Please sign in to comment.