| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function testStringOnBundleField() |
||
| 45 | { |
||
| 46 | $this->installEntitySchema('entity_test_with_bundle'); |
||
| 47 | EntityTestBundle::create([ |
||
| 48 | 'id' => 'test_bundle', |
||
| 49 | 'label' => 'Test label', |
||
| 50 | 'description' => 'Test description', |
||
| 51 | ])->save(); |
||
| 52 | $field = [$this->randomString()]; |
||
| 53 | $entity = $this->createTestEntity($field, 'entity_test_with_bundle', 'test_bundle'); |
||
| 54 | $this->assertValidField($entity); |
||
| 55 | $this->assertFieldValues($entity, $field); |
||
| 56 | } |
||
| 57 | } |
||
| 58 |