SDK: Fix unit tests

This commit is contained in:
Lynix
2017-04-22 12:58:14 +02:00
parent c1e9fe7b04
commit c06db7d9c5
4 changed files with 12 additions and 12 deletions

View File

@@ -79,7 +79,7 @@ SCENARIO("World", "[NDK][WORLD]")
AND_WHEN("We update our world with our entity")
{
REQUIRE(&world.GetSystem(UpdateSystem::systemIndex) == &world.GetSystem<UpdateSystem>());
const Ndk::EntityHandle& entity = world.CreateEntity();
Ndk::EntityHandle entity = world.CreateEntity();
UpdatableComponent& component = entity->AddComponent<UpdatableComponent>();
THEN("Our entity component must be updated")