18 lines
362 B
PHP
18 lines
362 B
PHP
<?php
|
|
namespace wdm\debian;
|
|
|
|
class PackagerTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
public function setUp()
|
|
{
|
|
$this->object = new Packager();
|
|
}
|
|
|
|
public function testRetrieveTheBuildCommand()
|
|
{
|
|
$this->object->setOutputPath("/tmp");
|
|
|
|
$this->assertEquals("dpkg -b /tmp my.deb", $this->object->build("my.deb"));
|
|
}
|
|
}
|