Skip to content

Commit d34abe8

Browse files
committed
fix dirty cache
1 parent f99ae09 commit d34abe8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/NewUserTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ private function ensureOrgGroupDoesNotExist()
7575
$org_group->getLDAPOrgGroup()->delete();
7676
assert(!$org_group->exists());
7777
}
78+
$REDIS->removeCacheArray("sorted_org", "", $user->getOrg()->getOrgID());
7879
}
7980

8081
private function ensureUserNotInPIGroup(UnityGroup $pi_group)
@@ -93,6 +94,7 @@ private function ensurePIGroupDoesNotExist()
9394
$USER->getPIGroup()->getLDAPPIGroup()->delete();
9495
assert(!$USER->getPIGroup()->exists());
9596
}
97+
$REDIS->removeCacheArray("sorted_groups", "", $USER->getPIGroup()->getPIUID());
9698
}
9799

98100
public function testCreateUserByJoinGoup()

0 commit comments

Comments
 (0)