mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-03-27 20:07:50 -04:00
Fix tests
This commit is contained in:
parent
93bc58a2d0
commit
92cdbe4052
@ -30,7 +30,7 @@ Kyoo does not have a plugin system and aim to have every features built-in (see
|
||||
|
||||
- **Helm Chart:** Deploy Kyoo to your Kubernetes cluster today! There is an official Helm chart. Multiple replicas is a WIP!
|
||||
|
||||
- ~**OIDC Connection:** Connect using any OIDC compliant service (Google, Discord, Authelia, you name it).~ (soon, not reimplemented in v5 yet)
|
||||
- **OIDC Connection:** Connect using any OIDC compliant service (Google, Discord, Authelia, you name it).
|
||||
|
||||
- ~**Watch List Scrubbing Support:** Your watch list is automatically synced to connected services (SIMKL and soon others [#351](https://github.com/zoriya/Kyoo/issues/351), [#352](https://github.com/zoriya/Kyoo/issues/352)). No need to manually mark episodes as watched.~ (soon, not reimplemented in v5 yet)
|
||||
|
||||
|
||||
@ -53,7 +53,7 @@ describe("Parse filter", () => {
|
||||
type: "op",
|
||||
operator: "ge",
|
||||
property: { name: "airDate" },
|
||||
value: { type: "date", value: "2022-10-12" },
|
||||
value: { type: "date", value: new Date("2022-10-12") },
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
@ -72,7 +72,7 @@ CollectionDetails.query = (slug: string): QueryIdentifier<Show> => ({
|
||||
parser: Show,
|
||||
path: ["api", "collections", slug, "shows"],
|
||||
params: {
|
||||
sort: ["airDate"]
|
||||
sort: ["airDate"],
|
||||
},
|
||||
infinite: true,
|
||||
});
|
||||
|
||||
@ -205,9 +205,7 @@ async def refresh_movie_by_slug(
|
||||
Request(
|
||||
kind="movie",
|
||||
title=show.name,
|
||||
year=show.air_date.year
|
||||
if show.air_date is not None
|
||||
else None,
|
||||
year=show.air_date.year if show.air_date is not None else None,
|
||||
external_id=MetadataId.map_dict(show.external_id),
|
||||
videos=[],
|
||||
)
|
||||
@ -237,9 +235,7 @@ async def refresh_serie_by_slug(
|
||||
Request(
|
||||
kind="episode",
|
||||
title=show.name,
|
||||
year=show.start_air.year
|
||||
if show.start_air is not None
|
||||
else None,
|
||||
year=show.start_air.year if show.start_air is not None else None,
|
||||
external_id=MetadataId.map_dict(show.external_id),
|
||||
videos=[],
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user