mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	Fix a test
This commit is contained in:
		
							parent
							
								
									10b291b4aa
								
							
						
					
					
						commit
						8ac5f02d93
					
				@ -214,12 +214,10 @@ namespace Kyoo.Tests.Database
 | 
				
			|||||||
			Show newValue = new()
 | 
								Show newValue = new()
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				ID = value.ID,
 | 
									ID = value.ID,
 | 
				
			||||||
 | 
									Slug = "reset",
 | 
				
			||||||
				Title = "Reset"
 | 
									Title = "Reset"
 | 
				
			||||||
			};
 | 
								};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			await Assert.ThrowsAsync<ArgumentException>(() => _repository.Edit(newValue, true));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
			newValue.Slug = "reset";
 | 
					 | 
				
			||||||
			Show edited = await _repository.Edit(newValue, true);
 | 
								Show edited = await _repository.Edit(newValue, true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			Assert.Equal(value.ID, edited.ID);
 | 
								Assert.Equal(value.ID, edited.ID);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user