mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:17:03 +08:00
Add the integration test for search back using a fixture.
This commit is contained in:
@ -38,10 +38,6 @@ export default function() {
|
||||
return [200, {"Content-Type": "text/html"}, "<div class='page-not-found'>not found</div>"];
|
||||
});
|
||||
|
||||
this.get("/search", function() {
|
||||
return response([ { type: "topic", more: true, results: [ { url: "some-url" } ] } ]);
|
||||
});
|
||||
|
||||
this.get('/draft.json', function() {
|
||||
return response({});
|
||||
});
|
||||
|
Reference in New Issue
Block a user