Skip to content

Commit 9992e23

Browse files
style: ran prettier on changed files
1 parent b4e9146 commit 9992e23

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ provide you with the information you need to configure and use the package effec
2626

2727
## Quickstart
2828

29-
For new users, it is recommended to refer to the links in the [Getting Started section](#getting-started) to begin. Otherwise, the install
29+
For new users, it is recommended to refer to the links in the [Getting Started section](#getting-started) to begin. Otherwise, the install
3030
command is included below for quick reference:
3131

3232
```bash

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -758,21 +758,13 @@ class APICoreModelTestCase extends RESTAPI\Core\TestCase {
758758
$client->ip_address = '1.2.3.4';
759759

760760
# Create a new alias with the authenticated user
761-
$alias = new FirewallAlias(
762-
name: "test_alias",
763-
type: "host",
764-
client: $client
765-
);
761+
$alias = new FirewallAlias(name: 'test_alias', type: 'host', client: $client);
766762
$alias->create();
767763

768764
# Ensure the 'revision' section of the config contains the authenticated username
769-
$this->assert_equals(
770-
$alias->get_config('revision/username'),
771-
'test_user@1.2.3.4'
772-
);
765+
$this->assert_equals($alias->get_config('revision/username'), 'test_user@1.2.3.4');
773766

774767
# Delete the alias
775768
$alias->delete();
776769
}
777-
778770
}

0 commit comments

Comments
 (0)