[Tests] Fix location capability tests

This commit is contained in:
Pete Richards
2015-08-06 15:05:00 -07:00
parent 5ab26df4c9
commit 1d162888dd
2 changed files with 18 additions and 30 deletions

View File

@@ -39,7 +39,7 @@ define(
* original.
*/
LocationCapability.prototype.isLink = function () {
if (this.getId() === "mine") {
if (this.domainObject.getId() === "mine") {
return false;
}
var model = this.domainObject.getModel();
@@ -52,7 +52,7 @@ define(
* link.
*/
LocationCapability.prototype.isOriginal = function () {
if (this.getId() === "mine") {
if (this.domainObject.getId() === "mine") {
return true;
}
var model = this.domainObject.getModel();