diff --git a/core/test/unit/frontend_spec.js b/core/test/unit/frontend_spec.js index 6d1a59113d..4674582d30 100644 --- a/core/test/unit/frontend_spec.js +++ b/core/test/unit/frontend_spec.js @@ -49,7 +49,7 @@ describe('Frontend Controller', function () { })); }); - it('Redirects to home if page number is 0', function () { + it('Redirects to home if page number is -1', function () { var req = {params: {page: -1}, route: {path: '/page/:page/'}}; frontend.homepage(req, res, null);