Skip to content

Commit

Permalink
Migrate unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
salander85 committed Oct 12, 2023
1 parent a329d27 commit bdf0aa0
Show file tree
Hide file tree
Showing 5 changed files with 534 additions and 764 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ private static ProjectApiRoot getCtpClient(@Nonnull final String propertiesPrefi
properties = loadFromEnvVars(propertiesPrefix);
}
if (properties.isEmpty()) {
throw new InvalidPropertiesFormatException("Please provide CTP credentials for running project sync.");
throw new InvalidPropertiesFormatException(
"Please provide CTP credentials for running project sync.");
}

final String projectKey =
Expand All @@ -52,7 +53,7 @@ private static ProjectApiRoot getCtpClient(@Nonnull final String propertiesPrefi
extract(properties, propertiesPrefix, PROPERTIES_KEY_CLIENT_ID_SUFFIX);
final String clientSecret =
extract(properties, propertiesPrefix, PROPERTIES_KEY_CLIENT_SECRET_SUFFIX);
final String apiUrl =
final String apiUrl =
extract(
properties,
propertiesPrefix,
Expand Down
Loading

0 comments on commit bdf0aa0

Please sign in to comment.