| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function testGetClearPhone() |
||
| 11 | {
|
||
| 12 | $this->assertEquals('+74954567890', ViewHelper::getClearPhone('8(495)456-78-90'));
|
||
| 13 | $this->assertEquals('+78124567890', ViewHelper::getClearPhone('8(812)456-78-90'));
|
||
| 14 | $this->assertEquals('+302106742949', ViewHelper::getClearPhone('+30 (210) 6742949'));
|
||
| 15 | $this->assertEquals('+74996491734', ViewHelper::getClearPhone('+7 (499) 649-17-34'));
|
||
| 16 | $this->assertEquals('6491635', ViewHelper::getClearPhone('649-16-35'));
|
||
| 17 | } |
||
| 18 | } |