| Conditions | 2 |
| Paths | 2 |
| Total Lines | 4 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | public function testAttributeLabelsForExistingAttributesOnly() { |
||
| 17 | // labels only for actually existing attributes |
||
| 18 | foreach ($this->model->attributeLabels() as $key => $label) { |
||
| 19 | $this->assertArrayHasKey($key, array_merge(get_object_vars($this->model), $this->model->attributes)); |
||
|
|
|||
| 20 | } |
||
| 53 | } |