Fix tests. Refs #1960.

This was SVN commit r13632.
This commit is contained in:
leper 2013-08-06 22:32:46 +00:00
parent bff070c6cb
commit dc722d76f3

View File

@ -387,6 +387,9 @@ AddMock(10, IID_Position, {
GetPosition: function() { GetPosition: function() {
return {x:1, y:2, z:3}; return {x:1, y:2, z:3};
}, },
GetRotation: function() {
return {x:4, y:5, z:6};
},
IsInWorld: function() { IsInWorld: function() {
return true; return true;
}, },
@ -404,6 +407,7 @@ TS_ASSERT_UNEVAL_EQUALS(cmp.GetEntityState(-1, 10), {
selectionGroupName: "Selection Group Name", selectionGroupName: "Selection Group Name",
}, },
position: {x:1, y:2, z:3}, position: {x:1, y:2, z:3},
rotation: {x:4, y:5, z:6},
hitpoints: 50, hitpoints: 50,
maxHitpoints: 60, maxHitpoints: 60,
needsRepair: false, needsRepair: false,