From 29a6d010bce133a78f29443d0d031a3c7653edee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Fri, 13 Mar 2020 08:40:31 +0100 Subject: [PATCH] Mark ReleasesClientTests.TheCreateReleasesMethod tests as integration They were using [Fact] instead of [IntegrationTest] so they would run and fail if no credentials are supplied. --- Octokit.Tests.Integration/Clients/ReleasesClientTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Octokit.Tests.Integration/Clients/ReleasesClientTests.cs b/Octokit.Tests.Integration/Clients/ReleasesClientTests.cs index 7a9c08e28e..58e3f6083e 100644 --- a/Octokit.Tests.Integration/Clients/ReleasesClientTests.cs +++ b/Octokit.Tests.Integration/Clients/ReleasesClientTests.cs @@ -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 }; @@ -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 };