Conditions | 2 |
Paths | 2 |
Total Lines | 4 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | public function testAttributeHintsForExistingAttributesOnly() { |
||
23 | // labels only for actually existing attributes |
||
24 | foreach ($this->model->attributeHints() as $key => $label) { |
||
25 | $this->assertArrayHasKey($key, array_merge(get_object_vars($this->model), $this->model->attributes)); |
||
26 | } |
||
53 | } |