| Total Complexity | 7 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | trait ActiveRecordTestTrait |
||
| 13 | { |
||
| 14 | public function testAttributeLabelsForExistingAttributesOnly() { |
||
| 15 | // labels only for actually existing attributes |
||
| 16 | foreach ($this->model->attributeLabels() as $key => $label) { |
||
| 17 | $this->assertArrayHasKey($key, $this->model->attributes); |
||
|
|
|||
| 18 | } |
||
| 19 | } |
||
| 20 | public function testAttributeHintsForExistingAttributesOnly() { |
||
| 24 | } |
||
| 25 | } |
||
| 26 | public function testRulesForExistingAttributesOnly() { |
||
| 31 | } |
||
| 32 | } |
||
| 35 | } |