Skip to content

Commit 1ae4cb4

Browse files
committed
test new org group creation
1 parent 5eb700b commit 1ae4cb4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

test/functional/NewUserTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public function testCreateUserByJoinGoup()
110110
$pi_group = $USER->getPIGroup();
111111
switchUser(...getNonExistentUser());
112112
$this->assertTrue(!$USER->exists());
113+
$this->assertTrue(!$USER->getOrgGroup()->exists());
113114
$this->assertTrue($pi_group->exists());
114115
$this->assertTrue(!$pi_group->userExists($USER));
115116
$this->assertNumberGroupRequests(0);

test/phpunit-bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function getUserIsPIHasAtLeastOneMember()
165165

166166
function getNonExistentUser()
167167
{
168-
return ["user2000@org2.test", "foo", "bar", "user2000@org2.test"];
168+
return ["user2001@org998.test", "foo", "bar", "user2001@org998.test"];
169169
}
170170

171171
function getAdminUser()

tools/docker-dev/web/htpasswd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,5 +1303,5 @@ [email protected]:$apr1$Rgrex74Z$rgJx6sCnGQN9UVMmhVG2R1
13031303
[email protected]:$apr1$Rgrex74Z$rgJx6sCnGQN9UVMmhVG2R1
13041304
[email protected]:$apr1$Rgrex74Z$rgJx6sCnGQN9UVMmhVG2R1
13051305
[email protected]:$apr1$Rgrex74Z$rgJx6sCnGQN9UVMmhVG2R1
1306-
user2001@org1.test:$apr1$Rgrex74Z$rgJx6sCnGQN9UVMmhVG2R1
1307-
user2002@org5.test:$apr1$Rgrex74Z$rgJx6sCnGQN9UVMmhVG2R1
1306+
user2001@org998.test:$apr1$Rgrex74Z$rgJx6sCnGQN9UVMmhVG2R1
1307+
user2002@org999.test:$apr1$Rgrex74Z$rgJx6sCnGQN9UVMmhVG2R1

0 commit comments

Comments
 (0)