summaryrefslogtreecommitdiffstats
path: root/tests/unit/businesslayer/BusinessLayerTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-19 13:20:54 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-19 13:21:11 +0200
commit517e4ca5435106ab5304849248cbea4e9dffd4b0 (patch)
tree0f00076f012791b39c710994f695abf723546062 /tests/unit/businesslayer/BusinessLayerTest.php
parentbd35b98d2c130f058b182f726636ee971625823b (diff)
split up api class for easier testing and clearer code
Diffstat (limited to 'tests/unit/businesslayer/BusinessLayerTest.php')
-rw-r--r--tests/unit/businesslayer/BusinessLayerTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unit/businesslayer/BusinessLayerTest.php b/tests/unit/businesslayer/BusinessLayerTest.php
index 7f3677d18..54ca11cba 100644
--- a/tests/unit/businesslayer/BusinessLayerTest.php
+++ b/tests/unit/businesslayer/BusinessLayerTest.php
@@ -39,14 +39,12 @@ class TestBusinessLayer extends BusinessLayer {
}
}
-class BusinessLayerTest extends \OCA\News\Utility\TestUtility {
+class BusinessLayerTest extends \PHPUnit_Framework_TestCase {
- protected $api;
protected $mapper;
protected $newsBusinessLayer;
protected function setUp(){
- $this->api = $this->getAPIMock();
$this->mapper = $this->getMockBuilder('\OCA\News\Db\ItemMapper')
->disableOriginalConstructor()
->getMock();