Skip to content

Commit

Permalink
ImportLocalizedAssetCommandTest make the project id optional
Browse files Browse the repository at this point in the history
this needs refactor
  • Loading branch information
aurambaj committed Jun 18, 2024
1 parent aa27332 commit 51bc9b2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ImportLocalizedAssetCommandTest extends CLITestBase {
@Autowired LocaleService localeService;

// TODO(ja) move in its own class
@Value("${test.phrase-client.projectId}")
@Value("${test.phrase-client.projectId:}")
String testProjectId;

@Test
Expand Down Expand Up @@ -1042,7 +1042,9 @@ public void importDifferentSourceLocale() throws Exception {
"-t",
getTargetTestDir("withMapping").getAbsolutePath(),
"-lm",
"en-US:en-US,en:en,fr-FR:fr-FR");
"en-US:en-US,en:en,fr-FR:fr-FR",
"-lmt",
"MAP_ONLY");

checkExpectedGeneratedResources();
}
Expand Down

0 comments on commit 51bc9b2

Please sign in to comment.