diff --git a/tests/lib/group/manager.php b/tests/lib/group/manager.php
index aa7737b9f2f5e6d51e66f338a945a3a2557b343a..9d1f175c1090e0c9261e8193d117f34e892e8488 100644
--- a/tests/lib/group/manager.php
+++ b/tests/lib/group/manager.php
@@ -354,7 +354,7 @@ class Manager extends \PHPUnit_Framework_TestCase {
 		 * @var \PHPUnit_Framework_MockObject_MockObject | \OC_Group_Backend $backend1
 		 */
 		$backend = $this->getMock('\OC_Group_Database');
-		$backend->expects($this->exactly(2))
+		$backend->expects($this->exactly(1))
 			->method('groupExists')
 			->with('testgroup')
 			->will($this->returnValue(true));