mirror of https://github.com/lidarr/Lidarr
24 lines
537 B
C#
24 lines
537 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(2, 10);
|
|
}
|
|
|
|
[Test]
|
|
public void should_get_branch()
|
|
{
|
|
BuildInfo.Branch.Should().NotBe("unknown");
|
|
BuildInfo.Branch.Should().NotBeNullOrWhiteSpace();
|
|
}
|
|
}
|
|
}
|