Change-Id: Iaa2f5ef2c2969f4610c02ff0af06b60156ce4d91
Signed-off-by: xy.qian <xy.qian@samsung.com>
noti = tizen.alarm.getAlarmNotification(alarm.id);
assert_type(retVal, "undefined", "method returned value");
for (key in notification) {
- if (notification[key] instanceof Array) {
+ if (notification[key] instanceof Object) {
assert_equals(JSON.stringify(noti[key]), JSON.stringify(notification[key]), "arrays are not same");
} else {
assert_equals(noti[key], notification[key], "properties are not same");