зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
6f90f7c787
Коммит
5c43b240ea
|
@ -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();
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче