Commit 2537eb6f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unifing of unit tests to use the same project data as others

parent 8a934d0b
......@@ -670,12 +670,12 @@ describe('CustomMap', function() {
it("openCommentDialog", function() {
var map = helper.createCustomMap();
map.getModel().setId(102);
map.setActiveSubmapId(102);
map.getModel().setId(15781);
map.setActiveSubmapId(15781);
map.setActiveSubmapClickCoordinates(new google.maps.Point(2, 12));
return map.openCommentDialog().then(function() {
var types = map.getCommentDialog().getTypes();
assert.equal(types.length, 3);
assert.equal(types.length, 6);
var selected = map.getCommentDialog().getSelectedType();
assert.ok(selected === "<General>");
......@@ -693,8 +693,8 @@ describe('CustomMap', function() {
it("addComment", function() {
var map = helper.createCustomMap();
map.getModel().setId(102);
map.setActiveSubmapId(102);
map.getModel().setId(15781);
map.setActiveSubmapId(15781);
map.setActiveSubmapClickCoordinates(new google.maps.Point(2, 12));
return map.openCommentDialog().then(function() {
return map.getCommentDialog().addComment();
......
[{"modelId":102,"id":329173,"type":"ALIAS"},{"modelId":102,"id":153511,"type":"REACTION"}]
\ No newline at end of file
Supports Markdown
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