Skip to content

Commit 67d9516

Browse files
committed
Rename x7zip test file
1 parent b6be060 commit 67d9516

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

tests/Method/Command/X7ZipTest.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace Distill\Tests\Method\Command;
4+
5+
use Distill\Method;
6+
use Distill\Format;
7+
use Distill\Tests\Method\AbstractMethodTest;
8+
9+
class X7ZipTest extends AbstractMethodTest
10+
{
11+
public function setUp()
12+
{
13+
$this->method = new Method\Command\X7Zip();
14+
15+
if (false === $this->method->isSupported()) {
16+
$this->markTestSkipped('The 7zip command is not installed');
17+
}
18+
19+
parent::setUp();
20+
}
21+
22+
public function test7zFormatIn7zipMethod()
23+
{
24+
$this->checkFormatUsingMethod(new Format\Simple\X7z(), $this->method);
25+
}
26+
27+
}

0 commit comments

Comments
 (0)