diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-20 12:14:42 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-20 12:14:42 +0200 |
commit | b9f3136f3a7564b983aef6564f9c7488d5b2b25b (patch) | |
tree | a50cc5851cf399df4ba594eacac53f3533c6a2ea /tests/unit/db | |
parent | e56498784f6691d5ceba84ed070f5b6f0d27aafa (diff) |
get rid of unneeded settings core class and inject it from the core container
Diffstat (limited to 'tests/unit/db')
-rw-r--r-- | tests/unit/db/MapperFactoryTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/db/MapperFactoryTest.php b/tests/unit/db/MapperFactoryTest.php index 3e82c1555..a83eca8ec 100644 --- a/tests/unit/db/MapperFactoryTest.php +++ b/tests/unit/db/MapperFactoryTest.php @@ -23,7 +23,7 @@ class MapperFactoryTest extends \PHPUnit_Framework_TestCase { private $settings; public function setUp() { - $this->settings = $this->getMockBuilder('\OCA\News\Core\Settings') + $this->settings = $this->getMockBuilder('\OCP\IConfig') ->disableOriginalConstructor() ->getMock(); $this->db = $this->getMockBuilder('\OCA\News\Core\Db') |