From 13eed83a10cfb5e2fa67e1039e12f3ccdf91a57d Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 22 Mar 2013 11:18:16 +0100 Subject: renamed utils into something more accurated --- tests/bl/FeedBlTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/bl/FeedBlTest.php b/tests/bl/FeedBlTest.php index 444018349..33bf5704c 100644 --- a/tests/bl/FeedBlTest.php +++ b/tests/bl/FeedBlTest.php @@ -38,13 +38,17 @@ class FeedBlTest extends \OCA\AppFramework\Utility\TestUtility { protected $feedBl; protected $user; protected $response; + protected $utils; protected function setUp(){ $this->api = $this->getAPIMock(); $this->feedMapper = $this->getMockBuilder('\OCA\News\Db\FeedMapper') ->disableOriginalConstructor() ->getMock(); - $this->feedBl = new FeedBl($this->feedMapper); + $this->utils = $this->getMockBuilder('\OCA\News\Utility\FeedFetcher') + ->disableOriginalConstructor() + ->getMock(); + $this->feedBl = new FeedBl($this->feedMapper, $this->utils); $this->user = 'jack'; $response = 'hi'; } -- cgit v1.2.3