diff --git a/tests/BattleTests/CreatureTests.cpp b/tests/BattleTests/CreatureTests.cpp index a17697f..b243e6c 100644 --- a/tests/BattleTests/CreatureTests.cpp +++ b/tests/BattleTests/CreatureTests.cpp @@ -33,8 +33,8 @@ TEST_CASE("Get creature variant when unset", "[Library]") { TEST_CASE("Get creature nickname when unset", "[Library]") { auto library = TestLibrary::Get(); - auto creature = CreateCreature(library, "testSpecies1"_cnc, 1).Create(); - REQUIRE(creature->GetNickname() == "testSpecies1"); + auto creature = CreateCreature(library, "testSpecies1"_cnc, 1).WithNickname("foo").Create(); + REQUIRE(creature->GetNickname() == "foo"); delete creature; }