mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	Fixing tests
This commit is contained in:
		
							parent
							
								
									538ba9a673
								
							
						
					
					
						commit
						3ad5a0d127
					
				@ -20,6 +20,8 @@ namespace Kyoo.Tests
 | 
			
		||||
		{
 | 
			
		||||
			Repositories = new RepositoryActivator();
 | 
			
		||||
			_repository = Repositories.LibraryManager.GetRepository<T>();
 | 
			
		||||
			Repositories.Context.AddTest<Show>();
 | 
			
		||||
			if (new T() is not Show)
 | 
			
		||||
				Repositories.Context.AddTest<T>();
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
 | 
			
		||||
@ -45,7 +45,6 @@ namespace Kyoo.Tests
 | 
			
		||||
					SeasonNumber = 1,
 | 
			
		||||
					Title = "Season 1",
 | 
			
		||||
					Overview = "The first season",
 | 
			
		||||
					Show = Get<Show>(),
 | 
			
		||||
					StartDate = new DateTime(2020, 06, 05),
 | 
			
		||||
					EndDate =  new DateTime(2020, 07, 05),
 | 
			
		||||
					Poster = "poster"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user