Skip to content

Commit

Permalink
Mark ReleasesClientTests.TheCreateReleasesMethod tests as integration (
Browse files Browse the repository at this point in the history
…#2152)

They were using [Fact] instead of [IntegrationTest] so they would run and fail if no credentials are supplied.
  • Loading branch information
0xced authored Mar 13, 2020
1 parent 5de5258 commit 3918685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Octokit.Tests.Integration/Clients/ReleasesClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public TheCreateReleasesMethod()
_context = github.CreateRepositoryContext("public-repo").Result;
}

[Fact]
[IntegrationTest]
public async Task SendsCreateToCorrectUrl()
{
var releaseWithNoUpdate = new NewRelease("0.1") { Draft = true };
Expand All @@ -45,7 +45,7 @@ public async Task SendsCreateToCorrectUrl()
Assert.NotNull(release);
}

[Fact]
[IntegrationTest]
public async Task SendsCreateToCorrectUrlWithRepositoryId()
{
var releaseWithNoUpdate = new NewRelease("0.1") { Draft = true };
Expand Down

0 comments on commit 3918685

Please sign in to comment.