diff --git a/test/spec/ui/fields/wikipedia.js b/test/spec/ui/fields/wikipedia.js index 16b0fa23e..393d5c6e2 100644 --- a/test/spec/ui/fields/wikipedia.js +++ b/test/spec/ui/fields/wikipedia.js @@ -85,8 +85,8 @@ describe('iD.uiFieldWikipedia', function() { happen.once(selection.selectAll('.wiki-title').node(), { type: 'blur' }); expect(spy.callCount).to.equal(4); - expect(spy.getCall(0)).to.have.been.calledWith({ wikipedia: undefined, wikidata: undefined }); // lang on change - expect(spy.getCall(1)).to.have.been.calledWith({ wikipedia: undefined, wikidata: undefined }); // lang on blur + expect(spy.getCall(0)).to.have.been.calledWith({ wikipedia: undefined}); // lang on change + expect(spy.getCall(1)).to.have.been.calledWith({ wikipedia: undefined}); // lang on blur expect(spy.getCall(2)).to.have.been.calledWith({ wikipedia: 'de:Title' }); // title on change expect(spy.getCall(3)).to.have.been.calledWith({ wikipedia: 'de:Title' }); // title on blur });