aboutsummaryrefslogtreecommitdiff
path: root/src/test/ScriptTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ScriptTest.cpp')
-rw-r--r--src/test/ScriptTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ScriptTest.cpp b/src/test/ScriptTest.cpp
index 846e398..66b8193 100644
--- a/src/test/ScriptTest.cpp
+++ b/src/test/ScriptTest.cpp
@@ -39,7 +39,7 @@ TEST_F(ScriptTest, UpdateOnce) {
EXPECT_CALL(script, init()).Times(1);
EXPECT_CALL(script, update(_)).Times(1);
- system.update();
+ system.fixed_update();
}
{
@@ -47,7 +47,7 @@ TEST_F(ScriptTest, UpdateOnce) {
EXPECT_CALL(script, init()).Times(0);
EXPECT_CALL(script, update(_)).Times(1);
- system.update();
+ system.fixed_update();
}
}
@@ -61,7 +61,7 @@ TEST_F(ScriptTest, UpdateInactive) {
EXPECT_CALL(script, init()).Times(0);
EXPECT_CALL(script, update(_)).Times(0);
behaviorscript.active = false;
- system.update();
+ system.fixed_update();
}
{
@@ -70,7 +70,7 @@ TEST_F(ScriptTest, UpdateInactive) {
EXPECT_CALL(script, init()).Times(1);
EXPECT_CALL(script, update(_)).Times(1);
behaviorscript.active = true;
- system.update();
+ system.fixed_update();
}
}