Fixed tests

Tests tried to get the Control via `$this->getControl()` which obviously failed.
This commit is contained in:
Jan-Hendrik Frintrop 2017-07-18 10:05:40 +02:00 committed by GitHub
commit 6bae56490b

View file

@ -58,7 +58,7 @@ class PackagerTest extends \PHPUnit_Framework_TestCase
$this->object->run();
$command = $this->object->build();
$control = $this->getControl();
$control = $this->object->getControl();
$name = $control['Package'];
$version = $control['Version'];
$arch = $control['Architecture'];
@ -79,7 +79,7 @@ class PackagerTest extends \PHPUnit_Framework_TestCase
$this->object->run();
$command = $this->object->build();
$control = $this->getControl();
$control = $this->object->getControl();
$name = $control['Package'];
$version = $control['Version'];
$arch = $control['Architecture'];