Completed
Push — master ( 17598f...abee1f )
by Kirill
13s queued 11s
created

ResetTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testReset() 0 5 1
1
<?php
2
3
/**
4
 * Spiral Framework.
5
 *
6
 * @license   MIT
7
 * @author    Anton Titov (Wolfy-J)
8
 */
9
10
declare(strict_types=1);
11
12
namespace Spiral\Tests\Framework\I18n;
13
14
use Spiral\Tests\Framework\ConsoleTest;
15
16
class ResetTest extends ConsoleTest
17
{
18
    public function testReset(): void
19
    {
20
        $this->runCommandDebug('i18n:index');
21
        $output = $this->runCommandDebug('i18n:reset');
22
        $this->assertStringContainsString('cache has been reset', $output);
23
    }
24
}
25