php-coder / mystamps

The site about post stamps where you can create a virtual collection
https://my-stamps.ru
GNU General Public License v2.0
20 stars 33 forks source link

Order of the series sales in PostgreSQL shows records without date first #1492

Open php-coder opened 3 years ago

php-coder commented 3 years ago

Addition of new tests in 52df7f3d97689bc9449bf2c2c67d574bede570e0 (#498), reveal a difference in the order of sales in the series list -- it shows sales without dates (NULL) first on PostgreSQL.

Here is how the test fails:

FAIL: Robotframework.Series.Sales.Creation.Logic.Add a sale with all fields The text of element 'id:series-sale-1-info' should have been '04.01.2021 Eicca Toppinen sold to Tommy Lee Jones for 7.50 EUR (10.10 USD) (MNH)', but it was 'Tommy Lee Jones was selling for 125.00 RUB'.

Seen there: https://travis-ci.com/github/php-coder/mystamps/jobs/468143974

I expect that the order it the same despite what the database is being used.

php-coder commented 3 years ago

Related links: