Skip to content

Commit

Permalink
Integration test on demand
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkors committed Apr 7, 2023
1 parent 928e675 commit 0020715
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public FileUploadTests(ITestOutputHelper helper) : base(helper)
{
}

[Fact]
[Fact(Skip = "Run on demand")]
public async Task FilesUploadTests()
{
var response = await SlackClient.FilesUpload(new FileUploadRequest
Expand All @@ -25,7 +25,7 @@ public async Task FilesUploadTests()
Assert.True(response.Ok);
}

[Fact]
[Fact(Skip = "Run on demand")]
public async Task FilesUploadFileTests()
{
var bytes = Convert.FromBase64String(File.ReadAllText("./Helpers/ImageBase64Encoded.txt"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ public UsersListTests(ITestOutputHelper helper) : base(helper)
{
}

[Fact]
[Fact(Skip = "Run on demand")]
public async Task UsersListWorks()
{
var response = await SlackClient.UsersList();
Assert.True(response.Ok);
}

[Fact]
[Fact(Skip = "Run on demand")]
public async Task FindsAdmins()
{
var response = await SlackClient.UsersList();
var adminFound = response.Members.Any(u => u.Is_Admin);
Assert.True(adminFound);
}

[Fact]
[Fact(Skip = "Run on demand")]
public async Task FindsBots()
{
var response = await SlackClient.UsersList();
Expand Down

0 comments on commit 0020715

Please sign in to comment.