mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 08:17:30 +02:00
Hide background sources from the list if they're blocked (close #7905)
This commit is contained in:
@@ -728,11 +728,11 @@ describe('iD.serviceOsm', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describe('#imageryBlacklists', function() {
|
||||
it('updates imagery blacklists', function(done) {
|
||||
describe('#imageryBlocklists', function() {
|
||||
it('updates imagery blocklists', function(done) {
|
||||
connection.status(function() {
|
||||
var blacklists = connection.imageryBlacklists();
|
||||
expect(blacklists).to.deep.equal(['\.foo\.com','\.bar\.org']);
|
||||
var blocklists = connection.imageryBlocklists();
|
||||
expect(blocklists).to.deep.equal(['\.foo\.com','\.bar\.org']);
|
||||
done();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user