Fix tests broken in 028e573759

This was SVN commit r17889.
This commit is contained in:
sanderd17 2016-03-14 17:50:56 +00:00
parent bedce1e617
commit 87da09bf1b

View File

@ -88,6 +88,7 @@ AddMock(100, IID_Player, {
IsNeutral: function() { return false; },
IsEnemy: function() { return true; },
GetDisabledTemplates: function() { return {}; },
HasSharedDropsites: function() { return false; },
});
AddMock(100, IID_EntityLimits, {
@ -169,6 +170,7 @@ AddMock(101, IID_Player, {
IsNeutral: function() { return false; },
IsEnemy: function() { return false; },
GetDisabledTemplates: function() { return {}; },
HasSharedDropsites: function() { return false; },
});
AddMock(101, IID_EntityLimits, {
@ -250,6 +252,7 @@ TS_ASSERT_UNEVAL_EQUALS(cmp.GetSimulationState(), {
teamsLocked: false,
cheatsEnabled: false,
disabledTemplates: {},
hasSharedDropsites: false,
phase: "village",
isAlly: [false, false],
isMutualAlly: [false, false],
@ -290,6 +293,7 @@ TS_ASSERT_UNEVAL_EQUALS(cmp.GetSimulationState(), {
teamsLocked: false,
cheatsEnabled: false,
disabledTemplates: {},
hasSharedDropsites: false,
phase: "village",
isAlly: [true, true],
isMutualAlly: [false, false],
@ -339,6 +343,7 @@ TS_ASSERT_UNEVAL_EQUALS(cmp.GetExtendedSimulationState(), {
teamsLocked: false,
cheatsEnabled: false,
disabledTemplates: {},
hasSharedDropsites: false,
phase: "village",
isAlly: [false, false],
isMutualAlly: [false, false],
@ -391,6 +396,7 @@ TS_ASSERT_UNEVAL_EQUALS(cmp.GetExtendedSimulationState(), {
teamsLocked: false,
cheatsEnabled: false,
disabledTemplates: {},
hasSharedDropsites: false,
phase: "village",
isAlly: [true, true],
isMutualAlly: [false, false],