Skip to content

Commit

Permalink
[hotfix] Skip Azure tests if ACCOUNT isn't configured
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanSkraba authored and XComp committed Oct 27, 2022
1 parent 1008114 commit da226b3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ static void onlyRunIfHttps() throws IOException {
assumeThat(TOKEN_CREDENTIALS_FILE)
.describedAs("Azure token credentials not configured, skipping test...")
.isNotBlank();
assumeThat(ACCOUNT)
.describedAs("Azure storage account not configured, skipping test...")
.isNotBlank();
assumeThat(isHttpsTrafficOnly()).isFalse();
}

Expand Down Expand Up @@ -113,6 +110,9 @@ private static boolean isHttpsTrafficOnly() throws IOException {
@BeforeAll
static void checkCredentialsAndSetup() {
// check whether credentials and container details exist
assumeThat(ACCOUNT)
.describedAs("Azure storage account not configured, skipping test...")
.isNotBlank();
assumeThat(CONTAINER)
.describedAs("Azure container not configured, skipping test...")
.isNotBlank();
Expand Down

0 comments on commit da226b3

Please sign in to comment.