summaryrefslogtreecommitdiffstats
path: root/tests/lib/public/ocpconfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/public/ocpconfig.php')
-rw-r--r--tests/lib/public/ocpconfig.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lib/public/ocpconfig.php b/tests/lib/public/ocpconfig.php
index 43a9ca625ee..947d2b3c9ef 100644
--- a/tests/lib/public/ocpconfig.php
+++ b/tests/lib/public/ocpconfig.php
@@ -19,12 +19,11 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
-class Test_OCPConfig extends PHPUnit_Framework_TestCase
-{
+class Test_OCPConfig extends \Test\TestCase {
public function testSetAppValueIfSetToNull() {
- $key = uniqid("key-");
+ $key = $this->getUniqueID('key-');
$result = \OCP\Config::setAppValue('unit-test', $key, null);
$this->assertTrue($result);