Skip to content

Commit e42a057

Browse files
committed
Revert "[tests] update test case on unique method"
This reverts commit a5e2a26.
1 parent 3ebde41 commit e42a057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TdbmFluidColumnOptionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public function testOptions()
2626
$columnOptions->notNull();
2727
$this->assertSame(true, $dbalColumn->getNotnull());
2828

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

3232
$columnOptions->comment('foo');
3333
$this->assertSame('foo', $dbalColumn->getComment());

0 commit comments

Comments
 (0)