diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-10 23:30:38 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-19 14:53:59 +0100 |
commit | 6202ca33ba76a38b4aea8774018d661f919fa464 (patch) | |
tree | a108c8631dad790bc8c3fc175c9c330d18c54ad2 /tests/lib/public/contacts.php | |
parent | cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (diff) | |
download | nextcloud-server-6202ca33ba76a38b4aea8774018d661f919fa464.tar.gz nextcloud-server-6202ca33ba76a38b4aea8774018d661f919fa464.zip |
Make remaining files extend the test base
Diffstat (limited to 'tests/lib/public/contacts.php')
-rw-r--r-- | tests/lib/public/contacts.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/lib/public/contacts.php b/tests/lib/public/contacts.php index d6008876a00..151e98d3905 100644 --- a/tests/lib/public/contacts.php +++ b/tests/lib/public/contacts.php @@ -19,17 +19,12 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -class Test_Contacts extends PHPUnit_Framework_TestCase -{ - - public function setUp() { - +class Test_Contacts extends \Test\TestCase { + protected function setUp() { + parent::setUp(); OCP\Contacts::clear(); } - public function tearDown() { - } - public function testDisabledIfEmpty() { // pretty simple $this->assertFalse(OCP\Contacts::isEnabled()); |