Skip to content

Commit

Permalink
Enable skipped integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinobee committed Dec 2, 2019
1 parent 4bb6b00 commit 2b296d6
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ namespace ExternalSearch.VatLayer.Integration.Tests
{
public class VatLayerTests : BaseExternalSearchTest<VatLayerExternalSearchProvider>
{
private string ApiToken = "118edd4591f3cf622af6e72e4eded7ea";
[Theory(Skip="Failing CI build")]
private const string ApiToken = "118edd4591f3cf622af6e72e4eded7ea";

[Theory]
[InlineData("DK36548681")]
public void TestValidVATNumber(string vatNumber)
{
Expand All @@ -35,7 +35,7 @@ public void TestValidVATNumber(string vatNumber)
Properties = properties.Properties
};

var list = new List<string>(new string[] { this.ApiToken });
var list = new List<string>(new string[] { ApiToken });
object[] parameters = { list };

//Act
Expand All @@ -46,7 +46,7 @@ public void TestValidVATNumber(string vatNumber)
Assert.True(this.clues.Count == 1);
}

[Theory(Skip="Failing CI build")]
[Theory]
[InlineData("asdasd")]
public void TestInvalidVATNumber(string vatNumber)
{
Expand All @@ -58,7 +58,7 @@ public void TestInvalidVATNumber(string vatNumber)
Properties = properties.Properties
};

var list = new List<string>(new string[] { this.ApiToken });
var list = new List<string>(new string[] { ApiToken });
object[] parameters = { list };

//Act
Expand All @@ -68,7 +68,7 @@ public void TestInvalidVATNumber(string vatNumber)
this.testContext.ProcessingHub.Verify(h => h.SendCommand(It.IsAny<ProcessClueCommand>()), Times.Never);
}

[Theory(Skip="Failing CI build")]
[Theory]
[InlineData("DK12345")]
public void TestNonExistingVATNumber(string vatNumber)
{
Expand All @@ -80,7 +80,7 @@ public void TestNonExistingVATNumber(string vatNumber)
Properties = properties.Properties
};

var list = new List<string>(new string[] { this.ApiToken });
var list = new List<string>(new string[] { ApiToken });
object[] parameters = { list };

//Act
Expand Down

0 comments on commit 2b296d6

Please sign in to comment.