mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 23:42:33 +01:00
30 lines
662 B
C#
30 lines
662 B
C#
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
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();
|
|
}
|
|
}
|
|
}
|