groups[] = $name; return $name; } protected function setUp(): void { parent::setUp(); $this->backend = new \OC\Group\Database(); } protected function tearDown(): void { foreach ($this->groups as $group) { $this->backend->deleteGroup($group); } parent::tearDown(); } public function testAddDoubleNoCache() { $group = $this->getGroupName(); $this->backend->createGroup($group); $backend = new \OC\Group\Database(); $this->assertFalse($backend->createGroup($group)); } }