Skip to content

Commit fa7b489

Browse files
style: run prettier on changed files
1 parent 7e06fd1 commit fa7b489

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Tests/APIModelsUserGroupTestCase.inc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ class APIModelsUserGroupTestCase extends TestCase {
168168
* Ensures UserGroups remain readable even when many users are assigned to a group. This tests for performance
169169
* issues identified in GitHub issue #779.
170170
*/
171-
public function test_read_performance_with_many_members(): void
172-
{
171+
public function test_read_performance_with_many_members(): void {
173172
# Mock creating many users by direct config assignment
174173
foreach (range(1, 1000) as $idx) {
175174
global $config;
@@ -180,11 +179,7 @@ class APIModelsUserGroupTestCase extends TestCase {
180179
}
181180

182181
# Create a UserGroup with many members
183-
$user_group = new UserGroup(
184-
name: 'biggroup',
185-
scope: 'local',
186-
member: [],
187-
);
182+
$user_group = new UserGroup(name: 'biggroup', scope: 'local', member: []);
188183
$user_group->create();
189184

190185
# Perform an update that maps all created users to our group and track its time

0 commit comments

Comments
 (0)