Skip to content

Commit

Permalink
[PAGOPA] update test
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang committed Mar 29, 2024
1 parent c6ad190 commit 0a7b93b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@
import org.testcontainers.junit.jupiter.Testcontainers;
import org.testcontainers.utility.DockerImageName;

import javax.xml.datatype.DatatypeConfigurationException;
import java.io.ByteArrayInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.net.URISyntaxException;
import java.security.InvalidKeyException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
Expand Down Expand Up @@ -313,7 +311,9 @@ void uploadOutFileTest() throws FileNotFoundException {
List<String> corporateFiles = containerCorporate.listBlobs().stream().map(BlobItem::getName)
.collect(Collectors.toList());

assertTrue(corporateFiles.contains("output/" + csvFileName));
System.out.println(corporateFiles);

assertTrue(corporateFiles.get(0).matches("output/(.*)"));
assertTrue(!corporateFiles.contains("input/" + csvFileName));
}
}

0 comments on commit 0a7b93b

Please sign in to comment.