From 3724a3e314a1070529d3b1fbfc810abb31263cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Pantalea=CC=83o?= Date: Thu, 11 Jul 2024 16:21:27 +0200 Subject: [PATCH] Add json for "update_widgets" push command --- .../command_update_widgets.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Sources/PushServer/Tests/SharedPushTests/notification_test_cases.bundle/command_update_widgets.json diff --git a/Sources/PushServer/Tests/SharedPushTests/notification_test_cases.bundle/command_update_widgets.json b/Sources/PushServer/Tests/SharedPushTests/notification_test_cases.bundle/command_update_widgets.json new file mode 100644 index 000000000..292876559 --- /dev/null +++ b/Sources/PushServer/Tests/SharedPushTests/notification_test_cases.bundle/command_update_widgets.json @@ -0,0 +1,23 @@ +{ + "input": { + "title": "extra excluded title", + "message": "update_widgets", + "registration_info": { + "app_id": "io.robbie.HomeAssistant.dev", + "os_version": "10.15", + "app_version": "2024.7" + } + }, + "rate_limit": false, + "headers": { + "apns-push-type": "background" + }, + "payload": { + "aps": { + "contentAvailable": true + }, + "homeassistant": { + "command": "update_widgets" + } + } +}