From 4f95e321c902346ce1a04e9606103d6bb76e1d72 Mon Sep 17 00:00:00 2001 From: otisnado Date: Tue, 10 Dec 2024 22:15:25 +0000 Subject: [PATCH] Apply cfformat changes --- models/TwilioClient.cfc | 2 +- tests/specs/unit/SignatureTest.cfc | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/models/TwilioClient.cfc b/models/TwilioClient.cfc index 27c1671..2bb921d 100644 --- a/models/TwilioClient.cfc +++ b/models/TwilioClient.cfc @@ -81,7 +81,7 @@ component singleton accessors="true" { function getSMS( required string sid ) { return newRequest() .setMethod( "GET" ) - .setUrl( "/Accounts/#variables.accountSID#/Messages/#arguments.sid#.json") + .setUrl( "/Accounts/#variables.accountSID#/Messages/#arguments.sid#.json" ) } /** diff --git a/tests/specs/unit/SignatureTest.cfc b/tests/specs/unit/SignatureTest.cfc index 75265a3..61b0929 100644 --- a/tests/specs/unit/SignatureTest.cfc +++ b/tests/specs/unit/SignatureTest.cfc @@ -14,7 +14,9 @@ component extends="testbox.system.BaseSpec" { "Digits": "1234" }; var expectedSignature = "GvWf1cFY/Q7PnoempGyD5oXAezc="; - expect( validator.validate( expectedSignature, uri, formParams ) ).toBeTrue( "Signature should have validated correctly" ); + expect( validator.validate( expectedSignature, uri, formParams ) ).toBeTrue( + "Signature should have validated correctly" + ); } ); it( "returns false for an invalid signature", function() { @@ -29,7 +31,9 @@ component extends="testbox.system.BaseSpec" { "Digits": "1234" }; var invalidSignature = "invalid"; - expect( validator.validate( invalidSignature, uri, formParams ) ).toBeFalse( "Signature should not have validated correctly" ); + expect( validator.validate( invalidSignature, uri, formParams ) ).toBeFalse( + "Signature should not have validated correctly" + ); } ); } ); }