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

ResetTest::testReset()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
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