Skip to content

Commit

Permalink
Fail() test instead of throwing LogicException
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jan 2, 2020
1 parent 40490db commit 71746a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Doctrine/Tests/DBAL/Platforms/SqlitePlatformTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Doctrine\DBAL\Schema\TableDiff;
use Doctrine\DBAL\TransactionIsolationLevel;
use Doctrine\DBAL\Types\Type;
use LogicException;
use function assert;

class SqlitePlatformTest extends AbstractPlatformTestCase
Expand Down Expand Up @@ -272,7 +271,7 @@ public function testGeneratesConstraintCreationSql() : void

public function getGenerateForeignKeySql() : string
{
throw new LogicException('Foreign key constraints are not yet supported for SQLite.');
$this->fail('Foreign key constraints are not yet supported for SQLite.');
}

public function testModifyLimitQuery() : void
Expand Down

0 comments on commit 71746a8

Please sign in to comment.