Skip to content

Commit ce0fda8

Browse files
committed
Adjust tests
1 parent b47f907 commit ce0fda8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/io/simplelocalize/cli/command/UploadCommandTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
import java.nio.file.Path;
1515
import java.util.Collections;
16+
import java.util.List;
1617

1718
import static org.mockito.ArgumentMatchers.any;
1819
import static org.mockito.Mockito.times;
@@ -58,6 +59,7 @@ public void shouldUploadTwelveFiles() throws Exception
5859
.withPath(Path.of("./junit/download-test/values-{lang}/strings.xml"))
5960
.withFormat("android")
6061
.withOptions(Collections.emptyList())
62+
.withTags(List.of())
6163
.build(),
6264
"languageKey", "path"
6365
)
@@ -85,6 +87,7 @@ public void shouldUploadOneFileWithLangTemplate() throws Exception
8587
.withFormat("android")
8688
.withLanguageKey("en")
8789
.withOptions(Collections.emptyList())
90+
.withTags(List.of())
8891
.build(),
8992
"path"
9093
)
@@ -112,6 +115,7 @@ public void shouldUploadOneFileWithOnlyTranslationKeys() throws Exception
112115
.withFormat("android")
113116
.withLanguageKey("en")
114117
.withOptions(Collections.emptyList())
118+
.withTags(List.of())
115119
.build()
116120
)
117121
);
@@ -155,6 +159,7 @@ public void shouldUploadOneFile() throws Exception
155159
.withFormat("android")
156160
.withLanguageKey("en")
157161
.withOptions(Collections.emptyList())
162+
.withTags(List.of())
158163
.build(),
159164
"path"
160165
)

0 commit comments

Comments
 (0)