summaryrefslogtreecommitdiffstats
path: root/tests/bl
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-22 11:18:16 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-22 11:18:16 +0100
commit13eed83a10cfb5e2fa67e1039e12f3ccdf91a57d (patch)
tree0bbb71dbb4ae6075fa4a61643eaa3373b6ea9fb5 /tests/bl
parente674fe47e6a44d693314af4149022d51597b42ab (diff)
renamed utils into something more accurated
Diffstat (limited to 'tests/bl')
-rw-r--r--tests/bl/FeedBlTest.php6
1 files changed, 5 insertions, 1 deletions
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';
}