Skip to content

Commit 91ddafc

Browse files
style: run prettier on changed files
1 parent 7a39cbf commit 91ddafc

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/APIModelsTableTestCase.inc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,16 @@ class APIModelsTableTestCase extends TestCase {
3131

3232
throw new ServerError(
3333
message: "Failed to add table $table_name with entries",
34-
response_id: "API_MODELS_TABLE_TEST_CASE_ADD_TABLE_FAILED"
34+
response_id: 'API_MODELS_TABLE_TEST_CASE_ADD_TABLE_FAILED',
3535
);
36-
3736
}
3837

3938
/**
4039
* Checks that we can successfully retrieve the list of available table names.
4140
*/
4241
public function test_get_available_table_names(): void {
4342
# Create a new pf table to test with
44-
$this->add_table(table_name: "pfrest_test_table", entries: ["1.2.3.4"]);
43+
$this->add_table(table_name: 'pfrest_test_table', entries: ['1.2.3.4']);
4544

4645
# Ensure get_available_table_names returns the test table
4746
$table = new Table();
@@ -65,7 +64,7 @@ class APIModelsTableTestCase extends TestCase {
6564
*/
6665
public function test_read(): void {
6766
# Create a new pf table to test with
68-
$this->add_table(table_name: "pfrest_test_table", entries: ["1.2.3.4", "4.3.2.1"]);
67+
$this->add_table(table_name: 'pfrest_test_table', entries: ['1.2.3.4', '4.3.2.1']);
6968

7069
# Load the Table model
7170
$table = new Table(id: 'pfrest_test_table');
@@ -82,7 +81,7 @@ class APIModelsTableTestCase extends TestCase {
8281
*/
8382
public function test_delete(): void {
8483
# Create a new pf table to test with
85-
$this->add_table(table_name: "pfrest_test_table", entries: ["1.2.3.4", "4.3.2.1"]);
84+
$this->add_table(table_name: 'pfrest_test_table', entries: ['1.2.3.4', '4.3.2.1']);
8685
sleep(1);
8786

8887
# Load the Table model

0 commit comments

Comments
 (0)