Skip to content

Commit

Permalink
Revert "[tests] update test case on unique method"
Browse files Browse the repository at this point in the history
This reverts commit a5e2a26.
  • Loading branch information
dsavina committed Jan 6, 2021
1 parent 3ebde41 commit e42a057
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('unique_foo');
$this->assertSame(true, $posts->getDbalTable()->getIndex('unique_foo')->isUnique());
$columnOptions->unique();
$this->assertSame(true, $dbalColumn->getCustomSchemaOption('unique'));

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

0 comments on commit e42a057

Please sign in to comment.