Bug 1523483 - Remove duplicate test function test_autocomplete_enabled in test_UrlbarController_unit.js. r=mak

Differential Revision: https://phabricator.services.mozilla.com/D17898

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Drew Willcoxon 2019-01-29 19:31:15 +00:00
parent 6f90f7c787
commit 5c43b240ea

View File

@ -205,16 +205,3 @@ add_task(function test_receiveResults() {
sandbox.resetHistory();
});
add_task(function test_autocomplete_enabled() {
const context = createContext();
context.results = [];
controller.receiveResults(context);
Assert.equal(generalListener.onQueryResults.callCount, 1,
"Should have called onQueryResults for the listener");
Assert.deepEqual(generalListener.onQueryResults.args[0], [context],
"Should have called onQueryResults with the context");
sandbox.resetHistory();
});