mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Moved tests for NzbDrone.Common to its own test project. added some new tests.
This commit is contained in:
parent
f52620db70
commit
f9a316f632
12 changed files with 350 additions and 35 deletions
|
@ -1,30 +0,0 @@
|
|||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Providers;
|
||||
|
||||
namespace NzbDrone.App.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class EnviromentProviderTest
|
||||
{
|
||||
|
||||
[Test]
|
||||
public void Is_user_interactive_should_be_false()
|
||||
{
|
||||
var enviromentController = new EnviromentProvider();
|
||||
|
||||
//Act
|
||||
enviromentController.IsUserInteractive.Should().BeTrue();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Log_path_should_not_be_empty()
|
||||
{
|
||||
var enviromentController = new EnviromentProvider();
|
||||
|
||||
//Act
|
||||
enviromentController.LogPath.Should().NotBeBlank();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -82,7 +82,6 @@
|
|||
<Compile Include="ConfigProviderTest.cs" />
|
||||
<Compile Include="IISProviderTest.cs" />
|
||||
<Compile Include="ProcessProviderTests.cs" />
|
||||
<Compile Include="EnviromentProviderTest.cs" />
|
||||
<Compile Include="ServiceControllerTests.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue