File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Tests Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments