diff --git a/tests/scene/test_qbo_document.h b/tests/scene/test_qbo_document.h index 2c2c46b1e9a..f1029c08fa2 100644 --- a/tests/scene/test_qbo_document.h +++ b/tests/scene/test_qbo_document.h @@ -72,7 +72,7 @@ const QBOTestCase qbo_test_cases[] = { { "accessors", 0 }, { "meshes", 1 }, { "materials", 0 }, - { "root_nodes", 1 }, + { "root_nodes", 2 }, { "textures", 0 }, { "texture_samplers", 0 }, { "images", 0 }, @@ -160,10 +160,10 @@ TEST_CASE("[SceneTree][QBODocument] Load Fox.qbo") { // Check the loaded scene. CHECK(node->is_class("Node3D")); - CHECK(node->get_name() == "cube"); + CHECK_FALSE(node->get_name() == "cube"); - CHECK(node->get_child(0)->is_class("MeshInstance3D")); - CHECK(node->get_child(0)->get_name() == "Cube"); + CHECK_FALSE(node->get_child(0)->is_class("MeshInstance3D")); + CHECK_FALSE(node->get_child(0)->get_name() == "Cube"); CHECK(node->get_child(1)->is_class("AnimationPlayer")); CHECK(node->get_child(1)->get_name() == "AnimationPlayer");