File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,14 @@ public function testDisplayLoggedIn(): void
4343 assert ($ authenticator instanceof Session);
4444 $ authenticator ->login ($ this ->user );
4545 $ this ->user ->addGroup ('admin ' , 'beta ' );
46+ $ this ->user ->addPermission ('users.create ' , 'users.edit ' );
4647
4748 $ output = $ this ->collector ->display ();
4849
4950 $ this ->assertStringContainsString ('Current Use ' , $ output );
5051 $ this ->assertStringContainsString ('<td>Username</td><td>John Smith</td> ' , $ output );
5152 $ this ->assertStringContainsString ('<td>Groups</td><td>admin, beta</td> ' , $ output );
53+ $ this ->assertStringContainsString ('<td>Permissions</td><td>users.create, users.edit</td> ' , $ output );
5254 }
5355
5456 public function testDisplayNotLoggedInAfterLogout (): void
You can’t perform that action at this time.
0 commit comments