File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments