@@ -76,7 +76,7 @@ public function testApproveMemberByPI()
7676 $ this ->assertTrue ($ USER ->exists ());
7777 $ this ->assertTrue ($ pi_group ->exists ());
7878 $ this ->assertGroupMembers ($ pi_group , [$ pi_uid ]);
79- $ this ->assertTrue (! $ pi_group ->memberUIDExists ($ USER ->uid ));
79+ $ this ->assertFalse ( $ pi_group ->memberUIDExists ($ USER ->uid ));
8080 $ this ->assertRequestedMembership (false , $ gid );
8181 try {
8282 $ this ->requestGroupMembership ($ pi_group ->gid );
@@ -103,7 +103,7 @@ public function testApproveMemberByPI()
103103 $ this ->approveUserByPI ($ approve_uid );
104104 switchUser (...$ user_to_approve_args );
105105
106- $ this ->assertTrue (! $ pi_group ->requestExists ($ USER ));
106+ $ this ->assertFalse ( $ pi_group ->requestExists ($ USER ));
107107 $ this ->assertRequestedMembership (false , $ gid );
108108 $ this ->assertTrue ($ pi_group ->memberUIDExists ($ USER ->uid ));
109109 $ this ->assertTrue ($ USER ->getFlag (UserFlag::QUALIFIED ));
@@ -116,7 +116,7 @@ public function testApproveMemberByPI()
116116 // }
117117 // $this->assertTrue($third_request_failed);
118118 $ this ->assertRequestedMembership (false , $ gid );
119- $ this ->assertTrue (! $ pi_group ->requestExists ($ USER ));
119+ $ this ->assertFalse ( $ pi_group ->requestExists ($ USER ));
120120 } finally {
121121 switchUser (...$ user_to_approve_args );
122122 ensureUserNotInPIGroup ($ pi_group );
@@ -136,7 +136,7 @@ public function testApproveMemberByAdmin()
136136 $ this ->assertTrue ($ USER ->exists ());
137137 $ this ->assertTrue ($ pi_group ->exists ());
138138 $ this ->assertGroupMembers ($ pi_group , [$ pi_uid ]);
139- $ this ->assertTrue (! $ pi_group ->memberUIDExists ($ USER ->uid ));
139+ $ this ->assertFalse ( $ pi_group ->memberUIDExists ($ USER ->uid ));
140140 $ this ->assertRequestedMembership (false , $ gid );
141141 try {
142142 $ this ->requestGroupMembership ($ pi_group ->gid );
@@ -163,7 +163,7 @@ public function testApproveMemberByAdmin()
163163 $ this ->approveUserByAdmin ($ gid , $ approve_uid );
164164 switchUser (...$ user_to_approve_args );
165165
166- $ this ->assertTrue (! $ pi_group ->requestExists ($ USER ));
166+ $ this ->assertFalse ( $ pi_group ->requestExists ($ USER ));
167167 $ this ->assertRequestedMembership (false , $ gid );
168168 $ this ->assertTrue ($ pi_group ->memberUIDExists ($ USER ->uid ));
169169 $ this ->assertTrue ($ USER ->getFlag (UserFlag::QUALIFIED ));
@@ -176,7 +176,7 @@ public function testApproveMemberByAdmin()
176176 // }
177177 // $this->assertTrue($third_request_failed);
178178 $ this ->assertRequestedMembership (false , $ gid );
179- $ this ->assertTrue (! $ pi_group ->requestExists ($ USER ));
179+ $ this ->assertFalse ( $ pi_group ->requestExists ($ USER ));
180180 } finally {
181181 switchUser (...$ user_to_approve_args );
182182 ensureUserNotInPIGroup ($ pi_group );
0 commit comments