Skip to content

Commit

Permalink
[tests] update test case on unique method
Browse files Browse the repository at this point in the history
Signed-off-by: Dorian Savina <[email protected]>
  • Loading branch information
dsavina committed Jan 6, 2021
1 parent 99c6ae1 commit a5e2a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TdbmFluidColumnOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public function testOptions()
$columnOptions->notNull();
$this->assertSame(true, $dbalColumn->getNotnull());

$columnOptions->unique();
$this->assertSame(true, $dbalColumn->getCustomSchemaOption('unique'));
$columnOptions->unique('unique_foo');
$this->assertSame(true, $posts->getDbalTable()->getIndex('unique_foo')->isUnique());

$columnOptions->comment('foo');
$this->assertSame('foo', $dbalColumn->getComment());
Expand Down

0 comments on commit a5e2a26

Please sign in to comment.