File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/test/java/com/aspose/email/cloud/sdk/api Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class EmailApiTests {
2121 private static final String storage = "First Storage" ;
2222 private static final DateFormat dateFormat = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss'Z'" );
2323
24- @ BeforeClass
24+ @ BeforeClass ( alwaysRun = true )
2525 public void oneTimeSetUp () throws Exception {
2626 api = new EmailApi (
2727 System .getenv ("appKey" ),
@@ -34,6 +34,11 @@ public void oneTimeSetUp() throws Exception {
3434 api .createFolder (new CreateFolderRequestData (folder , storage ));
3535 }
3636
37+ @ AfterClass (alwaysRun = true )
38+ public void oneTimeTearDown () throws Exception {
39+ api .deleteFolder (new DeleteFolderRequestData (folder , storage , true ));
40+ }
41+
3742 @ Test (groups = { "pipeline" })
3843 public void hierarchicalTest () throws Exception {
3944 String fileName = createCalendar ();
You can’t perform that action at this time.
0 commit comments