code4romania / vic

Mozilla Public License 2.0
2 stars 2 forks source link

[Join NGO] Access code valid on current date is not accepted #223

Open monikozi opened 1 year ago

monikozi commented 1 year ago

Description

Mobile [Join using a code] - Access code valid on current date is not accepted

Test environment

Android

Preconditions

n/a

Test Data

As Org admin, in Web, create an access code where start date = current date and end date = current date

Steps of Reproduction

As Volunteer, use access code to join an org

Expected Result

Expected result: the code to be accepted

Actual Result

Actual result: the Volunteer gets a message that the code is not valid

Notes (optional)

Screenshots (optional)

Screenshot_20230927_195028_teo

andrei-manda commented 2 months ago

Note

The validity interval of the code must be: [start,end]

andrei-manda commented 1 month ago

@birloiflorian retesting failed -> a code with a start date equal to the end date is considered invalid.

image