Skip to content

Commit 486c75a

Browse files
style: run prettier on changed files
1 parent 99e9b6b commit 486c75a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -909,12 +909,11 @@ class APIModelsFirewallRuleTestCase extends TestCase {
909909
/**
910910
* Checks that the username of the client is correctly identified when replace_all is called.
911911
*/
912-
public function test_replace_all_retains_client_username(): void
913-
{
912+
public function test_replace_all_retains_client_username(): void {
914913
# Mock the authenticated client
915914
$client = new Auth();
916-
$client->username = "testuser";
917-
$client->ip_address = "127.1.2.3";
915+
$client->username = 'testuser';
916+
$client->ip_address = '127.1.2.3';
918917

919918
# Replace all firewall rules with a new set
920919
$rule_model = new FirewallRule(client: $client);
@@ -936,7 +935,7 @@ class APIModelsFirewallRuleTestCase extends TestCase {
936935
'destination' => 'any',
937936
'descr' => 'test description 2',
938937
],
939-
]
938+
],
940939
);
941940

942941
# Ensure the client username and IP are correctly set in the new rules

0 commit comments

Comments
 (0)