From 6bae56490b3fff69cc930e949ab8b67238657121 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Frintrop Date: Tue, 18 Jul 2017 10:05:40 +0200 Subject: [PATCH] Fixed tests Tests tried to get the Control via `$this->getControl()` which obviously failed. --- tests/wdm/debian/PackagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/wdm/debian/PackagerTest.php b/tests/wdm/debian/PackagerTest.php index 1af248d..6490775 100644 --- a/tests/wdm/debian/PackagerTest.php +++ b/tests/wdm/debian/PackagerTest.php @@ -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'];