mirror of https://github.com/Radarr/Radarr
24 lines
536 B
C#
24 lines
536 B
C#
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Common.EnvironmentInfo;
|
|
|
|
namespace NzbDrone.Common.Test.EnvironmentInfo
|
|
{
|
|
[TestFixture]
|
|
public class BuildInfoFixture
|
|
{
|
|
[Test]
|
|
public void should_return_version()
|
|
{
|
|
BuildInfo.Version.Major.Should().BeOneOf(5, 10);
|
|
}
|
|
|
|
[Test]
|
|
public void should_get_branch()
|
|
{
|
|
BuildInfo.Branch.Should().NotBe("unknow");
|
|
BuildInfo.Branch.Should().NotBeNullOrWhiteSpace();
|
|
}
|
|
}
|
|
}
|