diff --git a/untests/sources/untests_high/world.cpp b/untests/sources/untests_high/world.cpp index 1fe934d7..0523db55 100644 --- a/untests/sources/untests_high/world.cpp +++ b/untests/sources/untests_high/world.cpp @@ -31,8 +31,8 @@ TEST_CASE("world") { SECTION("registry") { auto e = w.registry().create_entity(); - REQUIRE(cw.registry().alive_entity(e)); - REQUIRE(w.registry().destroy_entity(e)); - REQUIRE_FALSE(cw.registry().alive_entity(e)); + REQUIRE(cw.registry().valid_entity(e)); + w.registry().destroy_entity(e); + REQUIRE_FALSE(cw.registry().valid_entity(e)); } }