Anglepi / My-Many-Reads

Browse books, manage your reads list and find recommendations based on your likings and other users opinions.
GNU General Public License v3.0
3 stars 0 forks source link

Queries result seems not to be consistent and cause conflicts with tests #99

Closed Anglepi closed 1 year ago

Anglepi commented 1 year ago

While working on #97 I noticed that after updating the database to transform text dates into actual dates, the output from one of the queries was in a different order, resulting in unit test failing.

Explicitly sorting queries is a good practice, and this is one of the reasons.