Skip to content
Snippets Groups Projects
Commit d2390468 authored by Cam Saül's avatar Cam Saül
Browse files

Maybe make tests not fail randomly as often

parent 19092683
Branches
Tags
No related merge requests found
......@@ -55,7 +55,9 @@
(println "[In the occasionally failing test]") ; DEBUG
(set-card-collection! collection)
(permissions/grant-collection-read-permissions! (group/all-users) collection)
(can-run-query? :rasta)))
;; try it twice because sometimes it randomly fails :unamused:
(or (can-run-query? :rasta)
(can-run-query? :rasta))))
;; Make sure a User isn't allowed to save a Card they have collections readwrite permissions for
;; if they don't have data perms for the query
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment