diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-10 22:59:50 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-19 14:53:51 +0100 |
commit | cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (patch) | |
tree | 2a3ec09e86f13885483286ba5f5213201eb4ee67 /tests/settings | |
parent | 76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (diff) | |
download | nextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.tar.gz nextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.zip |
Make root tests extend the \Test\TestCase
Diffstat (limited to 'tests/settings')
-rw-r--r-- | tests/settings/controller/mailsettingscontrollertest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/settings/controller/mailsettingscontrollertest.php b/tests/settings/controller/mailsettingscontrollertest.php index 789b6ce8fb0..f6ebade7b17 100644 --- a/tests/settings/controller/mailsettingscontrollertest.php +++ b/tests/settings/controller/mailsettingscontrollertest.php @@ -14,11 +14,13 @@ use \OC\Settings\Application; /** * @package OC\Settings\Controller */ -class MailSettingsControllerTest extends \PHPUnit_Framework_TestCase { +class MailSettingsControllerTest extends \Test\TestCase { private $container; protected function setUp() { + parent::setUp(); + $app = new Application(); $this->container = $app->getContainer(); $this->container['Config'] = $this->getMockBuilder('\OCP\IConfig') |