From e42a0574cda10b4ba2ac3d62089c648c7c5adce7 Mon Sep 17 00:00:00 2001 From: Dorian Savina Date: Wed, 6 Jan 2021 16:22:44 +0100 Subject: [PATCH] Revert "[tests] update test case on `unique` method" This reverts commit a5e2a26bba8e6e3d8cd67b1e39539e2252ea9c40. --- tests/TdbmFluidColumnOptionsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());