mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Support 404 routes in the Ember App
This commit is contained in:
@ -79,11 +79,7 @@ Discourse.setupForTesting();
|
||||
Discourse.injectTestHelpers();
|
||||
Discourse.runInitializers();
|
||||
Discourse.start();
|
||||
|
||||
Discourse.Router.map(function() {
|
||||
Discourse.routeBuilder.call(this);
|
||||
});
|
||||
|
||||
Discourse.Route.mapRoutes();
|
||||
|
||||
QUnit.testStart(function() {
|
||||
// Allow our tests to change site settings and have them reset before the next test
|
||||
|
Reference in New Issue
Block a user