|
|
@ -28,15 +28,15 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
|
public void should_return_warning_when_branch_not_valid()
|
|
|
|
public void should_return_warning_when_branch_not_valid()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
GivenValidBranch("master");
|
|
|
|
GivenValidBranch("test");
|
|
|
|
|
|
|
|
|
|
|
|
Subject.Check().ShouldBeWarning();
|
|
|
|
Subject.Check().ShouldBeWarning();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[TestCase("Develop")]
|
|
|
|
|
|
|
|
[TestCase("develop")]
|
|
|
|
|
|
|
|
[TestCase("nightly")]
|
|
|
|
[TestCase("nightly")]
|
|
|
|
[TestCase("Nightly")]
|
|
|
|
[TestCase("Nightly")]
|
|
|
|
|
|
|
|
[TestCase("develop")]
|
|
|
|
|
|
|
|
[TestCase("master")]
|
|
|
|
public void should_return_no_warning_when_branch_valid(string branch)
|
|
|
|
public void should_return_no_warning_when_branch_valid(string branch)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
GivenValidBranch(branch);
|
|
|
|
GivenValidBranch(branch);
|
|
|
|