Tests to validate template instantiation returns new instances with
default values if they are missing.
This commit is contained in:
@@ -245,7 +245,7 @@ o.addTemplate = function(owner, template, callback) {
|
||||
return true;
|
||||
},
|
||||
function finish(err) {
|
||||
callback(err, templateName);
|
||||
callback(err, templateName, template);
|
||||
}
|
||||
);
|
||||
};
|
||||
@@ -338,7 +338,7 @@ o.updTemplate = function(owner, tpl_id, template, callback) {
|
||||
return true;
|
||||
},
|
||||
function finish(err) {
|
||||
callback(err);
|
||||
callback(err, template);
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user