Commit 969fc433 authored by Matthias Greuter's avatar Matthias Greuter
Browse files

Adjust mock to reflect interface change in entity repository

parent d6ea2bd6
...@@ -238,12 +238,12 @@ class MockEntityRepository : public mantle_api::IEntityRepository ...@@ -238,12 +238,12 @@ class MockEntityRepository : public mantle_api::IEntityRepository
MOCK_METHOD(mantle_api::IStaticObject&, MOCK_METHOD(mantle_api::IStaticObject&,
Create, Create,
(const std::string& name, const mantle_api::StaticObjectProperties& properties), (const std::string& name, std::unique_ptr<mantle_api::StaticObjectProperties> properties),
(override)); (override));
mantle_api::IStaticObject& Create(mantle_api::UniqueId id, mantle_api::IStaticObject& Create(mantle_api::UniqueId id,
const std::string& name, const std::string& name,
const mantle_api::StaticObjectProperties& properties) override std::unique_ptr<mantle_api::StaticObjectProperties> properties) override
{ {
std::ignore = id; std::ignore = id;
std::ignore = name; std::ignore = name;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment