mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-23 22:00:13 +00:00
Updates to tests
This commit is contained in:
parent
89880f22a6
commit
f561c11d20
@ -9,7 +9,10 @@ namespace TMDbLibTests.JsonHelpers
|
||||
protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)
|
||||
{
|
||||
JsonProperty res = base.CreateProperty(member, memberSerialization);
|
||||
res.Required = Required.AllowNull;
|
||||
|
||||
if (!res.Ignored)
|
||||
// If we haven't explicitly stated that a field is not needed, we require it for compliance
|
||||
res.Required = Required.AllowNull;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user