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 => {