Skip to content

Commit 8253fac

Browse files
committed
Adding failing test
1 parent ebbc3dc commit 8253fac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/TdbmFluidColumnGraphqlOptionsTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,9 @@ public function testGraphql()
5252
$uuidColumn = $users->uuid()->graphqlField();
5353
$this->assertContains('outputType = "ID"', $schema->getTable('users')->getColumn('uuid')->getComment());
5454

55+
$products = $fluid->table('products')
56+
->uuid()
57+
->column('user_id')->references('users')->graphqlField();
58+
$this->assertNotContains('outputType = "ID"', $schema->getTable('products')->getColumn('user_id')->getComment());
5559
}
5660
}

0 commit comments

Comments
 (0)