Skip to content

Commit 9da348c

Browse files
style: run prettier on changed files
1 parent 9d924a9 commit 9da348c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,13 @@ R02Pul8ulWQ8Kl3Q3pou8As7W1mMzA2DxQ==
131131
/**
132132
* Checks that we cannot delete a CA that is in use.
133133
*/
134-
public function test_cannot_delete_ca_in_use(): void
135-
{
134+
public function test_cannot_delete_ca_in_use(): void {
136135
# Create a CA to test with
137-
$ca = new CertificateAuthority(
138-
descr: 'test',
139-
crt: self::EXAMPLE_CRT,
140-
prv: self::EXAMPLE_PRV,
141-
);
136+
$ca = new CertificateAuthority(descr: 'test', crt: self::EXAMPLE_CRT, prv: self::EXAMPLE_PRV);
142137
$ca->create();
143138

144139
# Mock an OpenVPN server using this CA to be in use
145-
Model::set_config(path: "openvpn/openvpn-server/0/caref", value: $ca->refid->value);
140+
Model::set_config(path: 'openvpn/openvpn-server/0/caref', value: $ca->refid->value);
146141

147142
# Ensure an error is thrown if we try to delete the CA while it's in use
148143
$this->assert_throws_response(

0 commit comments

Comments
 (0)