mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 10:17:47 +00:00
22 lines
481 B
C#
22 lines
481 B
C#
|
using System;
|
||
|
using FluentAssertions;
|
||
|
using NUnit.Framework;
|
||
|
using NzbDrone.Common.EnvironmentInfo;
|
||
|
using NzbDrone.Test.Common;
|
||
|
|
||
|
namespace NzbDrone.Common.Test.EnvironmentTests
|
||
|
{
|
||
|
[TestFixture]
|
||
|
public class BuildInfoTest : TestBase
|
||
|
{
|
||
|
|
||
|
[TestCase("0.0.0.0")]
|
||
|
[TestCase("1.0.0.0")]
|
||
|
public void Application_version_should_not_be_default(string version)
|
||
|
{
|
||
|
BuildInfo.Version.Should().NotBe(new Version(version));
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|