When generating a report of birthdays the only input that seems to filter all the birthdays of all persons is the month. The year is not taken into account.
/api/person/report/birthdays
steps:
1: Fill the month parameter of the /api/person/report/birthdays GET request with a the number of a month where a person has been born from the database.
2: fill the year parameter of the /api/person/report/birthdays GET request with a random year this doesnt matter for the returned result eg. use a year that doesnt appear in the persons database table.
3: execute the GET request
Wrong outcome:
all The people with the inputted month get returned but the return result doesnt take into consideration which year was inputted in the parameter.
Expected result:
Only people with the same year and month that are given in the inputs are returned in the response body.
When generating a report of birthdays the only input that seems to filter all the birthdays of all persons is the month. The year is not taken into account.
/api/person/report/birthdays steps: 1: Fill the month parameter of the /api/person/report/birthdays GET request with a the number of a month where a person has been born from the database. 2: fill the year parameter of the /api/person/report/birthdays GET request with a random year this doesnt matter for the returned result eg. use a year that doesnt appear in the persons database table. 3: execute the GET request
Wrong outcome: all The people with the inputted month get returned but the return result doesnt take into consideration which year was inputted in the parameter.
Expected result:
Only people with the same year and month that are given in the inputs are returned in the response body.