Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/2912561d0e782a1aa6713bc08f12852bb899b223?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
23 additions and
23 deletions
@ -72,29 +72,29 @@ namespace NzbDrone.Core.Test.Datastore
loadedSeries . Covers . Value . Should ( ) . HaveSameCount ( covers ) ;
} * /
[Test]
public void one_to_one ( )
{
var episode = Builder < Episode > . CreateNew ( )
. With ( c = > c . Id = 0 )
. Build ( ) ;
Db . Insert ( episode ) ;
var history = Builder < History . History > . CreateNew ( )
. With ( c = > c . Id = 0 )
. With ( c = > c . EpisodeId = episode . Id )
. With ( c = > c . Quality = new QualityModel ( ) )
. Build ( ) ;
Db . Insert ( history ) ;
var loadedEpisode = Db . Single < History . History > ( ) . Episode . Value ;
loadedEpisode . Should ( ) . NotBeNull ( ) ;
loadedEpisode . ShouldHave ( ) . AllProperties ( ) . But ( c = > c . SeriesTitle ) . EqualTo ( episode ) ;
}
// [Test]
// public void one_to_one()
// {
// var episode = Builder<Episode>.CreateNew()
// .With(c => c.Id = 0)
// .Build();
/ /
// Db.Insert(episode);
/ /
/ /
// var history = Builder<History.History>.CreateNew()
// .With(c => c.Id = 0)
// .With(c => c.EpisodeId = episode.Id)
// .With(c => c.Quality = new QualityModel())
// .Build();
/ /
// Db.Insert(history);
/ /
// var loadedEpisode = Db.Single<History.History>().Episode.Value;
/ /
// loadedEpisode.Should().NotBeNull();
// loadedEpisode.ShouldHave().AllProperties().But(c => c.SeriesTitle).EqualTo(episode);
// }
[Test]