| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 33 | public function testGeneratesAccurateCustomSchema() |
||
| 34 | { |
||
| 35 | $tip = new Tip( |
||
| 36 | 'message', |
||
| 37 | Tip::IMPORTANCE_LEVELS['HIGH'], |
||
| 38 | 'page' |
||
| 39 | ); |
||
| 40 | |||
| 41 | $schema = $tip->getTipSchema(); |
||
| 42 | |||
| 43 | $this->assertEquals( |
||
| 44 | [ |
||
| 45 | 'content' => 'message', |
||
| 46 | 'icon' => 'page', |
||
| 47 | 'importance' => 'high', |
||
| 48 | ], |
||
| 49 | $schema |
||
| 50 | ); |
||
| 77 |