on xenial help sign in
fakeindicatorsmodeldata: use local avatars for messages
c02a539Marco Trevisan (Treviño)
tests/mocks/Unity/Indicators/fakeindicatorsmodeldata.js+3−3
@@ -47,11 +47,11 @@ var fakeMenuData = {
47 "action": "indicator.telephony-service-sms.msg.MSG_ID",
47 "action": "indicator.telephony-service-sms.msg.MSG_ID",
48 "actionState": {},
48 "actionState": {},
49 "ext": {},
49 "ext": {},
50− "icon": "file:///usr/share/telephony-service/assets/avatar-default@18.png",
50+ "icon": Qt.resolvedUrl("../../../../../tests/graphics/avatars/funky@12.png"),
51 "type": "com.canonical.indicator.messages.messageitem",
51 "type": "com.canonical.indicator.messages.messageitem",
52 "ext": {
52 "ext": {
53− "icon": "file:///usr/share/telephony-service/assets/avatar-default@18.png",
53+ "icon": Qt.resolvedUrl("../../../../../tests/graphics/avatars/funky@12.png"),
54− "xCanonicalAppIcon": "image://theme/telephony-service-message",
54+ "xCanonicalAppIcon": Qt.resolvedUrl("../../../../../tests/graphics/applicationIcons/messages-app@18.png"),
55 "xCanonicalMessageActions": "",
55 "xCanonicalMessageActions": "",
56 "xCanonicalText": "This is a message sent to an awesome Ubuntu phone.",
56 "xCanonicalText": "This is a message sent to an awesome Ubuntu phone.",
57 "xCanonicalTime": ((new Date).getTime() - 35 * 1000) * 1000
57 "xCanonicalTime": ((new Date).getTime() - 35 * 1000) * 1000