Skip to content

Commit

Permalink
CMR-10139: updating test per PR request.
Browse files Browse the repository at this point in the history
  • Loading branch information
eereiter committed Oct 23, 2024
1 parent ac037dc commit c80afef
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
(testing "Add-to-existing-mode"
(are3
[expected existing-modes new-modes]
(is (= expected (subscriptions/add-to-existing-mode existing-modes new-modes)))
(is (= (set expected)
(set (subscriptions/add-to-existing-mode existing-modes new-modes))))

"new subscription with no existing modes in cache."
["New" "Update" "Delete"]
Expand All @@ -66,6 +67,11 @@
[]
["Delete"]

"Adding new subscription with existing mode in cache of a different value."
["Delete" "New"]
["New"]
["Delete"]

"Adding new subscription with existing modes."
["New" "Delete"]
["New"]
Expand Down

0 comments on commit c80afef

Please sign in to comment.