We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 310595c commit 970414bCopy full SHA for 970414b
test/functional/PiRemoveUserTest.php
@@ -24,6 +24,8 @@ public function testRemoveUser()
24
$memberUIDs = $piGroup->getGroupMemberUIDs();
25
// the 0th member of the PI group is the PI
26
$this->assertGreaterThan(1, count($memberUIDs));
27
+ // the ordering of the uids in getGroupMemberUIDs is different each time
28
+ // use a linear search to find a user who is not the PI
29
$memberToDelete = null;
30
foreach ($memberUIDs as $uid) {
31
if ($uid != $piUid) {
0 commit comments