Browse Source

removed unused mock backend response

pull/782/head
Stephen Hess 8 years ago
parent
commit
11b39b3f54
  1. 3
      test/unit/mock/backend.js

3
test/unit/mock/backend.js

@ -1,8 +1,5 @@
var responses = {}; var responses = {};
responses['client/suggest/fail/1'] = function( cmd, cb ){
return cb( 'an elasticsearch error occurred' );
};
responses['client/search/ok/1'] = function( cmd, cb ){ responses['client/search/ok/1'] = function( cmd, cb ){
return cb( undefined, searchEnvelope([{ return cb( undefined, searchEnvelope([{
_id: 'myid1', _id: 'myid1',

Loading…
Cancel
Save