From f3ecf819ec8e6841be62603c3e8a1e255fc6522d Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 25 Jun 2014 13:13:53 +0200 Subject: extend Dummy user and group implementation to pass tests --- tests/lib/group/backend.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/lib') diff --git a/tests/lib/group/backend.php b/tests/lib/group/backend.php index 34442fa7bda..95a5cf5f49c 100644 --- a/tests/lib/group/backend.php +++ b/tests/lib/group/backend.php @@ -31,8 +31,12 @@ abstract class Test_Group_Backend extends PHPUnit_Framework_TestCase { * test cases can override this in order to clean up created groups * @return string */ - public function getGroupName() { - return uniqid('test_'); + public function getGroupName($name = null) { + if(is_null($name)) { + return uniqid('test_'); + } else { + return $name; + } } /** -- cgit v1.2.3