mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 23:42:36 -07:00
fixed unit tests
This commit is contained in:
parent
9fea842545
commit
de80558f54
4 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,6 @@ namespace Ombi.Core.Models.Search.V2
|
|||
|
||||
public class MovieCollection : SearchViewModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Overview { get; set; }
|
||||
public string PosterPath { get; set; }
|
||||
public string Title { get; set; }
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
|
||||
<PackageReference Include="MockQueryable.Moq" Version="3.1.3" />
|
||||
<PackageReference Include="MockQueryable.Moq" Version="5.0.0-preview.7" />
|
||||
<PackageReference Include="Moq" Version="4.10.0" />
|
||||
<PackageReference Include="Nunit" Version="3.11.0" />
|
||||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />
|
||||
|
|
|
@ -16,7 +16,6 @@ using Ombi.Api.CouchPotato.Models;
|
|||
using Ombi.Api.Lidarr;
|
||||
using Ombi.Api.Lidarr.Models;
|
||||
using Ombi.Api.TheMovieDb;
|
||||
using Ombi.Api.TheMovieDb;
|
||||
using Ombi.Api.TheMovieDb.Models;
|
||||
using Ombi.Api.TvMaze;
|
||||
using Ombi.Core.Settings;
|
||||
|
@ -649,7 +648,9 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
{
|
||||
releaseDate = $"({DateTime.Parse(info.ReleaseDate).Year})";
|
||||
}
|
||||
#pragma warning disable RCS1075 // Avoid empty catch clause that catches System.Exception.
|
||||
catch (Exception)
|
||||
#pragma warning restore RCS1075 // Avoid empty catch clause that catches System.Exception.
|
||||
{
|
||||
// Swallow, couldn't parse the date
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.2.0" />
|
||||
<PackageReference Include="Moq" Version="4.10.0" />
|
||||
<PackageReference Include="MockQueryable.Moq" Version="3.1.3" />
|
||||
<PackageReference Include="MockQueryable.Moq" Version="5.0.0-preview.7" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue