diff --git a/tests/TdbmFluidColumnOptionsTest.php b/tests/TdbmFluidColumnOptionsTest.php index 262043f..4017a14 100644 --- a/tests/TdbmFluidColumnOptionsTest.php +++ b/tests/TdbmFluidColumnOptionsTest.php @@ -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());