Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Fix [MethodBind] check bound enums test case failing when run alone

yoyorm3e0c4f3962ac
diff --git a/tests/core/object/test_method_bind.cpp b/tests/core/object/test_method_bind.cpp
index bc7bfc69f22..5d729f475e0 100644
--- a/tests/core/object/test_method_bind.cpp
+++ b/tests/core/object/test_method_bind.cpp
@@ -221,6 +221,7 @@ TEST_CASE("[MethodBind] check all method binds") {
}
TEST_CASE("[MethodBind] check bound enums") {
+ MethodBindTester::initialize_class();
const AHashMap<StringName, GDType::Member> &property_map = MethodBindTester::get_gdtype_static().members();
#define BOUND_ENUM_LOOP(m_info, m_value, m_name) \