Skip to content

Commit

Permalink
🔧 调整单元测试代码
Browse files Browse the repository at this point in the history
  • Loading branch information
li-xunhuan committed Jan 24, 2025
1 parent 7347581 commit ed5ff99
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 23 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
package net.dreamlu.mica.captcha;

import org.junit.jupiter.api.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.test.context.ActiveProfiles;

/**
* 验证码 测试
*
* @author L.cm
*/
@SpringBootTest
@ActiveProfiles("dev")
class CaptchaApplicationTests {

@SpringBootApplication
@EnableCaching
public static class CaptchaApplication {

public static void main(String[] args) {
SpringApplication.run(CaptchaApplication.class);
}

}


@Test
void contextLoads() {

}

}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.dreamlu.mica;
package net.dreamlu.mica.captcha;

import net.dreamlu.mica.captcha.core.Captcha;
import net.dreamlu.mica.captcha.enums.CaptchaType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.dreamlu.mica.fonts;
package net.dreamlu.mica.captcha.fonts;

import javax.imageio.ImageIO;
import javax.imageio.stream.FileImageOutputStream;
Expand Down

0 comments on commit ed5ff99

Please sign in to comment.