Commit 1f80cb72 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

onvalid background overlay doesn't crash system

parent eea632d9
......@@ -958,17 +958,6 @@ describe('CustomMap', function () {
});
describe("init", function () {
it("invalid background overlay", function () {
var options = helper.createCustomMapOptions();
ServerConnector.getSessionData(options.getProject()).setSelectedBackgroundOverlay("bla");
var map = new CustomMap(options);
return map.init().then(function () {
assert.false("Error expected");
}, function () {
map.destroy();
})
});
it("non-existing background overlay", function () {
var options = helper.createCustomMapOptions();
ServerConnector.getSessionData(options.getProject()).setSelectedBackgroundOverlay(-1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment