| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function testGraphql() |
||
| 12 | { |
||
| 13 | $schema = new Schema(); |
||
| 14 | $fluid = new TdbmFluidSchema($schema); |
||
| 15 | |||
| 16 | $fluid->table('posts')->uuid(); |
||
| 17 | $fluid->table('users')->uuid(); |
||
| 18 | |||
| 19 | $fluid->junctionTable('posts', 'users')->graphql(); |
||
| 20 | |||
| 21 | $this->assertSame("\n@TheCodingMachine\\GraphQLite\\Annotations\\Field", $schema->getTable('posts_users')->getOptions()['comment']); |
||
| 22 | } |
||
| 23 | } |
||
| 24 |