Skip to content

Commit 19b63b4

Browse files
lmajanogithub-actions[bot]
authored andcommitted
Apply cfformat changes
1 parent 6a54f5a commit 19b63b4

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

system/web/routing/Router.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ component
21002100
}
21012101
},
21022102
keepAliveInterval: 30000,
2103-
cors: "*"
2103+
cors : "*"
21042104
);
21052105
return "";
21062106
}
@@ -2234,7 +2234,7 @@ component
22342234
* @throws ModuleNotFoundException If the bxai module is not installed
22352235
* @throws InvalidArgumentException If serverName is not a non-empty string and no :mcpServer placeholder exists
22362236
*/
2237-
function toMCP( string serverName="" ){
2237+
function toMCP( string serverName = "" ){
22382238
// Guard: BoxLang + bxai must be present at route-registration time
22392239
ensureBoxLang()
22402240

tests/specs/web/routing/RouterAITest.cfc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ component extends="coldbox.system.testing.BaseModelTest" skip="notBoxlang" {
183183
} )
184184

185185
story( "I want dynamic routing support on toMCP()", function(){
186-
187186
given( "an empty serverName but an :mcpServer placeholder in the route", function(){
188187
then( "it should not throw an exception", function(){
189188
router.route( "/mcp/:mcpServer" ).toMCP()
@@ -193,9 +192,7 @@ component extends="coldbox.system.testing.BaseModelTest" skip="notBoxlang" {
193192
expect( routes[ 1 ].mcpServer ).toBeEmpty()
194193
} )
195194
} )
196-
197195
} )
198-
199196
} )
200197
}
201198

0 commit comments

Comments
 (0)