1
0
forked from 0ad/0ad

Fix tests

This was SVN commit r9016.
This commit is contained in:
Ykkrosh 2011-03-04 23:22:09 +00:00
parent 2229c10e05
commit e6ebfa2ab9

View File

@ -48,7 +48,7 @@ function TestFormationExiting(mode)
});
var unitAI = ConstructComponent(unit, "UnitAI", { "FormationController": "false" });
var unitAI = ConstructComponent(unit, "UnitAI", { "FormationController": "false", "DefaultStance": "aggressive" });
AddMock(unit, IID_Position, {
GetPosition: function() { return { "x": 0, "z": 0 }; },
@ -87,7 +87,7 @@ function TestFormationExiting(mode)
});
var controllerFormation = ConstructComponent(controller, "Formation");
var controllerAI = ConstructComponent(controller, "UnitAI", { "FormationController": "true" });
var controllerAI = ConstructComponent(controller, "UnitAI", { "FormationController": "true", "DefaultStance": "aggressive" });
AddMock(controller, IID_Position, {
JumpTo: function(x, z) { this.x = x; this.z = z; },