39 Commits

Author SHA1 Message Date
pushrbx
cb043f49e8
one more tweak to the model factory 2024-06-20 18:03:59 +01:00
pushrbx
aa8d8a6def
maybe fixed tests4 2024-06-20 18:03:58 +01:00
pushrbx
7190979980
maybe fixed tests3 2024-06-20 18:03:58 +01:00
pushrbx
9342407bef fixed tests according to the recent factory changes 2024-04-11 00:01:40 +01:00
pushrbx
9de8ffc9db fixed filtering by producer/magazine on anime/manga search endpoints
- additionally improved model factories for tests
2024-04-10 18:59:30 +01:00
pushrbx
99fa9f92ee fixed the "premiered" attribute on AnimeFactory class 2024-01-30 17:46:05 +00:00
pushrbx
125b6720ff added more tests and improved existing ones 2024-01-30 17:28:03 +00:00
pushrbx
df854f65a6 fixed tests 2023-06-29 21:01:24 +01:00
pushrbx
6eff2af172 various fixes and refactorings
- genre filtering
- added unapproved filtering
- fixed sfw filtering
- fixed kids filtering
- fixed deprecation warnings as of php 8.1
  - DateTime ctor can't take `null` anymore as first param
  - preg_replace doesn't accept `null` values as `$subject`
- fixed failed items indexer (the --failed option of indexers) -- it didn't load the correct file making it impossible to retry the indexing
- changed the document schema for search indexed anime/manga
  - added `approved` field to them
  - staging will require a reimport into TypeSense
- the central filtering system will now process `sfw` and `unapproved` filters, so they will be applied implicitly through the `filter` model scope method.
2023-05-21 11:18:35 +01:00
pushrbx
fbc3b8277d wip - more fixes
- added user animelist/mangalist endpoints back
- fixed issues with the container image
- improved club model factory
- fixed ordering while searching when search engine is disabled (mongodb based search)
2023-05-21 11:18:02 +01:00
pushrbx
e48d23520f fixed buggy tests 2023-05-21 11:18:02 +01:00
pushrbx
baa5e9c557 refactored tests and fixed test runner issues
- additionally fixed some bugs with schedule endpoint
2023-05-21 11:18:02 +01:00
pushrbx
a530e9f5d6 multiple changes
- wip -> http tests should use model factories
- test runner bootstrap: jikan models are cached in a temporary file
- fixed various bugs
- improved test execution time with typesense
- added new dev dependency: ClassFinder
- updated composer scripts to include coverage generation
- added coverage reports in phpunit
- improved roadrunner integration
- updated docker image
  - added xdebug in disabled state
2023-05-21 11:18:02 +01:00
pushrbx
5a960e3b9c fixed model factory 2023-05-21 11:14:35 +01:00
pushrbx
5e922f7cd9 fixed tests part1 2023-05-21 11:14:35 +01:00
pushrbx
1e302fb62c wip - refactor finished 2023-05-21 11:14:35 +01:00
pushrbx
4a25c30d7d refactored user endpoints and cache ttl config 2023-05-21 11:14:35 +01:00
pushrbx
a145f18bbd wip - major refactor
- AppServiceProvider is needs more work to wire in new services
- todo: more dtos
- todo: add unit tests
- todo: add more integration tests
2023-05-21 11:14:34 +01:00
pushrbx
49b3698f45 fixed genre generation in model factories 2023-05-21 11:14:34 +01:00
pushrbx
a2efb6f773 fixed #327 2023-05-21 11:14:34 +01:00
pushrbx
f6dc3399a3 fixed media factories: incorrect "airing"/"publishing" bool value 2023-05-21 11:14:34 +01:00
pushrbx
39ab02e969 fixed test service provider contextual binding 2023-05-21 11:14:34 +01:00
pushrbx
950b5c6a2d added manga search endpoint integration tests 2023-05-21 11:14:34 +01:00
pushrbx
cefdbb1a1d added letter parameter tests and updated episode model 2023-05-21 11:14:34 +01:00
pushrbx
fcea126272 fixed orderBy parameter tests 2023-05-21 11:14:33 +01:00
pushrbx
716d8ea8e7 added tests for orderBy parameter 2023-05-21 11:14:33 +01:00
pushrbx
251fccb5f6 added tests for rating parameter 2023-05-21 11:14:33 +01:00
pushrbx
2d2a1c97ed added tests for invalid score searches 2023-05-21 11:14:33 +01:00
pushrbx
aca707a508 added search by status tests 2023-05-21 11:14:33 +01:00
pushrbx
0dd56f98cb added more tests around search+dates and refactored things 2023-05-21 11:14:33 +01:00
pushrbx
ca591b20a8 refactored test arrange code 2023-05-21 11:14:33 +01:00
pushrbx
fdbefd86d3 added missing type hints 2023-05-21 11:14:33 +01:00
pushrbx
2156c6bfe1 added serialization to model factories 2023-05-21 11:14:33 +01:00
pushrbx
628f3e2294 fixed things and applied code review recommends 2023-05-21 11:14:33 +01:00
pushrbx
577c43760c removed legacy model factories 2023-05-21 11:14:33 +01:00
pushrbx
72b6bb9442 fixed several issues
- search indexes should be different for testing
- added ability to flush the search index between tests
- fixed missing attributes in model factories
2023-05-21 11:14:32 +01:00
pushrbx
8f102d2b56 added the foundations for fixture based tests 2023-05-21 11:14:32 +01:00
Irfan
8df86920ba LE 2022-12-03 02:08:19 +05:00
irfan-dahir
8d49e8bd26 initial commit 2018-04-21 13:22:44 +05:00