fix tests
This commit is contained in:
parent
56fa2cbf00
commit
e6d424960e
1 changed files with 7 additions and 6 deletions
|
|
@ -20,7 +20,8 @@ class FactorioEventTest : BehaviorSpec({
|
||||||
"associated_characters_unit_numbers": {},
|
"associated_characters_unit_numbers": {},
|
||||||
"position": {
|
"position": {
|
||||||
"x": -3.5703125,
|
"x": -3.5703125,
|
||||||
"y": 29.75
|
"y": 29.75,
|
||||||
|
"type": "MAP"
|
||||||
},
|
},
|
||||||
"last_online": 123
|
"last_online": 123
|
||||||
},
|
},
|
||||||
|
|
@ -41,7 +42,8 @@ class FactorioEventTest : BehaviorSpec({
|
||||||
associatedCharactersUnitNumbers = emptyList(),
|
associatedCharactersUnitNumbers = emptyList(),
|
||||||
position = PositionData(
|
position = PositionData(
|
||||||
x = -3.5703125,
|
x = -3.5703125,
|
||||||
y = 29.75
|
y = 29.75,
|
||||||
|
type = PositionType.MAP,
|
||||||
),
|
),
|
||||||
colour = Colour(),
|
colour = Colour(),
|
||||||
chatColour = Colour(),
|
chatColour = Colour(),
|
||||||
|
|
@ -49,7 +51,6 @@ class FactorioEventTest : BehaviorSpec({
|
||||||
),
|
),
|
||||||
eventType = "on_player_joined_game",
|
eventType = "on_player_joined_game",
|
||||||
modVersion = "0.0.4",
|
modVersion = "0.0.4",
|
||||||
factorioVersion = "1.1.48",
|
|
||||||
tick = 1278458u
|
tick = 1278458u
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -86,7 +87,6 @@ class FactorioEventTest : BehaviorSpec({
|
||||||
),
|
),
|
||||||
eventType = "on_tick",
|
eventType = "on_tick",
|
||||||
modVersion = "0.0.4",
|
modVersion = "0.0.4",
|
||||||
factorioVersion = "1.1.48",
|
|
||||||
tick = 1278480u
|
tick = 1278480u
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -111,7 +111,8 @@ class FactorioEventTest : BehaviorSpec({
|
||||||
"unit_number": 1,
|
"unit_number": 1,
|
||||||
"position": {
|
"position": {
|
||||||
"x": -0.25,
|
"x": -0.25,
|
||||||
"y": 30.09375
|
"y": 30.09375,
|
||||||
|
"type": "MAP"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"event_type": "on_player_changed_position",
|
"event_type": "on_player_changed_position",
|
||||||
|
|
@ -136,11 +137,11 @@ class FactorioEventTest : BehaviorSpec({
|
||||||
position = PositionData(
|
position = PositionData(
|
||||||
x = -0.25,
|
x = -0.25,
|
||||||
y = 30.09375,
|
y = 30.09375,
|
||||||
|
type = PositionType.MAP,
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
eventType = "on_player_changed_position",
|
eventType = "on_player_changed_position",
|
||||||
modVersion = "0.0.6",
|
modVersion = "0.0.6",
|
||||||
factorioVersion = "1.1.48",
|
|
||||||
tick = 1384507u
|
tick = 1384507u
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue