aboutsummaryrefslogtreecommitdiff
path: root/src/test/ScriptEventTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ScriptEventTest.cpp')
-rw-r--r--src/test/ScriptEventTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ScriptEventTest.cpp b/src/test/ScriptEventTest.cpp
index c1b4028..8b4a72d 100644
--- a/src/test/ScriptEventTest.cpp
+++ b/src/test/ScriptEventTest.cpp
@@ -23,7 +23,7 @@ class ScriptEventTest : public ScriptTest {
public:
EventManager & event_manager = mediator.event_manager;
- class MyEvent : public Event {};
+ struct MyEvent : public Event {};
};
TEST_F(ScriptEventTest, Default) {
@@ -37,7 +37,7 @@ TEST_F(ScriptEventTest, Default) {
return true;
});
- system.update();
+ system.fixed_update();
behaviorscript.active = false;
EXPECT_EQ(0, event_count);