mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Add the integration test for search back using a fixture.
This commit is contained in:
parent
e9600d7cb1
commit
a71640c15f
3 changed files with 6 additions and 10 deletions
|
@ -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({});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue