Skip to content

Commit 41138bd

Browse files
committed
Revert "[tests] update test case on unique method"
This reverts commit ea567b2.
1 parent ecff92c commit 41138bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/FluidColumnOptionsTest.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)