From a71885d23af1ee1693511ce2ab289a4d02161cd2 Mon Sep 17 00:00:00 2001 From: jlenon7 Date: Sat, 28 Mar 2026 12:51:15 -0300 Subject: [PATCH] test(route): remove test assertion --- tests/unit/router/RouterTest.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/unit/router/RouterTest.ts b/tests/unit/router/RouterTest.ts index 1b9cf5a..6323151 100644 --- a/tests/unit/router/RouterTest.ts +++ b/tests/unit/router/RouterTest.ts @@ -221,13 +221,6 @@ export default class RouterTest { assert.deepEqual((await Server.request({ path: '/test', method: 'get' })).json(), { hello: 'world' }) } - @Test() - public async shouldThrowAnErrorWhenTheControllerMethodStringDoesNotExist({ assert }: Context) { - ioc.bind('App/Http/Controllers/HelloController', HelloController) - - assert.throws(() => Route.get('/test', 'HelloController.not-found'), UndefinedMethodException) - } - @Test() public async shouldBeAbleToRegisterAMiddlewareClosureInRouteUsingRouteClass({ assert }: Context) { Route.get('test', ctx => {