fix(Core/Tests): Add missing GetDataPath mock to combat tests (#25198)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc 2026-03-22 23:55:41 -05:00 committed by GitHub
parent 9757174460
commit 757f6127ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -42,6 +42,8 @@ protected:
ON_CALL(*_worldMock, getIntConfig(_)).WillByDefault(Return(0));
ON_CALL(*_worldMock, getFloatConfig(_)).WillByDefault(Return(1.0f));
ON_CALL(*_worldMock, getBoolConfig(_)).WillByDefault(Return(false));
static std::string emptyString;
ON_CALL(*_worldMock, GetDataPath()).WillByDefault(ReturnRef(emptyString));
sWorld.reset(_worldMock);

View file

@ -42,6 +42,8 @@ protected:
ON_CALL(*_worldMock, getIntConfig(_)).WillByDefault(Return(0));
ON_CALL(*_worldMock, getFloatConfig(_)).WillByDefault(Return(1.0f));
ON_CALL(*_worldMock, getBoolConfig(_)).WillByDefault(Return(false));
static std::string emptyString;
ON_CALL(*_worldMock, GetDataPath()).WillByDefault(ReturnRef(emptyString));
sWorld.reset(_worldMock);