Commit Graph

16 Commits

Author SHA1 Message Date
Donkie
f8cc9f7eda Updated integration tests to not require exact match
This matches how we want clients to behave, they should ignore any extra fields that are sent in the response.
2024-01-23 18:58:58 +01:00
Donkie
597dca7c28 Fixed combining empty and non-empty filter
Previously it would then act as a wildcard filter
2023-09-20 21:02:49 +02:00
Donkie
6f94c17050 Renamed vendor.x to filament.vendor.x in spool API 2023-09-16 11:13:30 +02:00
Donkie
6ee3b8df70 Added support for multiple int where's 2023-09-16 11:13:30 +02:00
Donkie
841cc8b6df Added sort by remaining weight 2023-09-16 11:13:30 +02:00
Donkie
a4d14c5b52 Added X-Total-Count test asserts
Fixed issue with incorrect total count for vendors
2023-09-16 11:13:30 +02:00
Donkie
0f58ddfd88 Modernized vendor tests 2023-09-16 11:13:30 +02:00
Donkie
978773583a Full testing done for filaments
Also added tests for having multiple sorts
2023-09-16 11:13:30 +02:00
Donkie
acc6ab56a5 Fixed tests for non-sqlite dbs 2023-09-16 11:13:30 +02:00
Donkie
aa28e51c28 Added offset and limit tests for spools 2023-09-16 11:13:30 +02:00
Donkie
13994c486f Added module-level fixtures in tests 2023-09-16 11:13:30 +02:00
Donkie
e436aa4975 Added tests for spool find sorting 2023-09-16 11:13:30 +02:00
Donkie
9a7375d781 Added test cases for finding empty spool fields 2023-09-16 11:13:30 +02:00
Donkie
826fde6967 API find nested filters now specified using period
Previously you used underscore, like vendor_name. This made fields like filament_article_number have ambiguous underscores.
2023-09-16 11:13:30 +02:00
Donkie
e6b30da55d Split spool test_find into individual tests 2023-08-21 22:16:52 +02:00
Donkie
c820112e11 Split up integration tests into individual files 2023-08-21 22:16:52 +02:00