Przeglądaj źródła

tests: fix modhandler assert

Konstantin 2 lat temu
rodzic
commit
88f8694825

+ 1 - 1
test/spells/targetConditions/CreatureConditionTest.cpp

@@ -29,7 +29,7 @@ public:
 	{
 		TargetConditionItemTest::SetUp();
 
-		subject = TargetConditionItemFactory::getDefault()->createConfigurable("", "creature", "ammoCart");
+		subject = TargetConditionItemFactory::getDefault()->createConfigurable("core", "creature", "ammoCart");
 		GTEST_ASSERT_NE(subject, nullptr);
 	}
 };

+ 1 - 1
test/spells/targetConditions/SpellEffectConditionTest.cpp

@@ -31,7 +31,7 @@ public:
 	{
 		TargetConditionItemTest::SetUp();
 
-		subject = TargetConditionItemFactory::getDefault()->createConfigurable("", "spell", "age");
+		subject = TargetConditionItemFactory::getDefault()->createConfigurable("core", "spell", "age");
 		GTEST_ASSERT_NE(subject, nullptr);
 	}
 };