Skip to content

Commit

Permalink
test: apply code review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalinDe committed Jan 17, 2024
1 parent 5956f1d commit 1b03a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/frontend/tests/formIndex.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function assertQuickAction(row: locator, form: object, sciper?: string) {
case 1:
// only authenticated user w/ right to vote sees 'vote' button
if (
user &&
user !== undefined &&
form.FormID in user.authorization &&
user.authorization[form.FormID].includes('vote')
) {
Expand Down

0 comments on commit 1b03a2f

Please sign in to comment.