Skip to content

Commit 48677b9

Browse files
committed
delete org before user
1 parent ee7300c commit 48677b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/NewUserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ public function testCreateUserByJoinGoup()
162162
$this->assertRequestedMembership(false, $gid);
163163
$this->assertTrue(!$pi_group->requestExists($USER));
164164
} finally {
165+
$this->ensureOrgGroupDoesNotExist();
165166
$this->ensureUserNotInPIGroup($pi_group);
166167
$this->ensureUserDoesNotExist();
167-
$this->ensureOrgGroupDoesNotExist();
168168
}
169169
}
170170

@@ -211,9 +211,9 @@ public function testCreateUserByCreateGroup()
211211
// $this->assertTrue($third_request_failed);
212212
$this->assertRequestedPIGroup(false);
213213
} finally {
214+
$this->ensureOrgGroupDoesNotExist();
214215
$this->ensurePIGroupDoesNotExist();
215216
$this->ensureUserDoesNotExist();
216-
$this->ensureOrgGroupDoesNotExist();
217217
}
218218
}
219219
}

0 commit comments

Comments
 (0)