on xenial help sign in
Change mocks to be more generic
9cec511Andrea Cimitan
tests/mocks/Unity/fake_categories.cpp+2−2
@@ -99,8 +99,8 @@ Categories::data(const QModelIndex& index, int role) const
99 map["title"] = "HOLA";
99 map["title"] = "HOLA";
100 map["subtitle"] = "HOLA";
100 map["subtitle"] = "HOLA";
101 attributeMap["field"] = "attribute";
101 attributeMap["field"] = "attribute";
102− socialActionMap["icon"] = "image://theme/cancel";
102+ socialActionMap["icon"] = "icon";
103− socialActionMap["id"] = "dislike";
103+ socialActionMap["id"] = "socialHola";
104 map["socialActions"] = socialActionMap;
104 map["socialActions"] = socialActionMap;
105 map["attributes"] = attributeMap;
105 map["attributes"] = attributeMap;
106 return map;
106 return map;