| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function testNumericDescriminatorColumn() : void |
||
| 28 | { |
||
| 29 | $entity = new GH8055SubClass(); |
||
| 30 | $entity->value = 'test'; |
||
| 31 | $this->_em->persist($entity); |
||
| 32 | $this->_em->flush(); |
||
| 33 | $this->_em->clear(); |
||
| 34 | |||
| 35 | $repository = $this->_em->getRepository(GH8055SubClass::class); |
||
| 36 | $hydrated = $repository->find($entity->id); |
||
| 37 | |||
| 38 | self::assertSame('test', $hydrated->value); |
||
| 39 | } |
||
| 72 |