![]() fixes VICE-4274 flag=none To Reproduce 1. Login with mobile device to create token 2. Enable psuh notifications to create notification_endpoint 3. copy and pase the notification_endpoint token 4. Create a new access token 4a AccessToken.create!(user: user,developer_key: DeveloperKey.find(170000000000004)) 4b. use the same DeveloperKey 5. Create new Notification Endpoint with same token 6. access_token.notification_endpoints.create!(token: “duplicate_token) 7. Create a push notification 8. duplicate notifications created Test Plan 1. Have a device setup with push notifications 2. Have 2 access tokens and 2 notificationEndpoints with the same ARN setup 3. Create a message 4. Verify that only one notification is received by phone Change-Id: I466b8d663604df6d2a67f65242e59b9e975caaa5 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347465 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com> QA-Review: Caleb Guanzon <cguanzon@instructure.com> Product-Review: Jason Gillett <jason.gillett@instructure.com> |
||
---|---|---|
.. | ||
feature_analytics_service_spec.rb | ||
live_events_subscription_service_spec.rb | ||
notification_service_spec.rb | ||
rich_content_spec.rb | ||
screencap_service_spec.rb | ||
submit_homework_service_spec.rb |