Skip to content

Commit

Permalink
Fixed PHPCS errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
hschletz committed Jun 6, 2021
1 parent 4d6adc4 commit fc3e68c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Schema/TableTest.php
Expand Up @@ -837,19 +837,19 @@ public function testRemoveUniqueConstraint(): void
$table = new Table('foo');
$table->addColumn('bar', 'integer');
$table->addUniqueConstraint(['bar'], 'unique_constraint');

$table->removeUniqueConstraint('unique_constraint');

self::assertFalse($table->hasUniqueConstraint('unique_constraint'));
}

public function testRemoveUniqueConstraintUnknownNameThrowsException(): void
{
$this->expectException(SchemaException::class);

$table = new Table('foo');
$table->addColumn('bar', 'integer');

$table->removeUniqueConstraint('unique_constraint');
}
}

0 comments on commit fc3e68c

Please sign in to comment.