Skip to content

Commit a5e2a26

Browse files
committed
[tests] update test case on unique method
Signed-off-by: Dorian Savina <d.savina@thecodingmachine.com>
1 parent 99c6ae1 commit a5e2a26

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

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

0 commit comments

Comments
 (0)