mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Update provider now closes all orphaned IISExpress instances before update.
This commit is contained in:
parent
115b06821e
commit
d73853f08b
8 changed files with 49 additions and 32 deletions
|
@ -117,6 +117,15 @@ namespace NzbDrone.Update.Test
|
|||
Mocker.GetMock<ProcessProvider>().Verify(c => c.Kill(It.IsAny<int>()), Times.Never());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_stop_orphan_iisexpress_instances()
|
||||
{
|
||||
Mocker.Resolve<UpdateProvider>().Start(TARGET_FOLDER);
|
||||
|
||||
//Assert
|
||||
Mocker.GetMock<IISProvider>().Verify(c => c.StopServer(), Times.Once());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_create_backup_of_current_installation()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue