src/test/java/com/example/jz/JzApplicationTests.java
@@ -1,5 +1,6 @@ package com.example.jz; import com.example.jz.auth.DefaultPwdEncoder; import com.example.jz.config.MinIOConfig; import com.example.jz.service.MinIOService; import org.junit.jupiter.api.Test; @@ -10,6 +11,8 @@ class JzApplicationTests { @Autowired MinIOService minIOService; @Autowired DefaultPwdEncoder defaultPwdEncoder; @Test void contextLoads() { @@ -19,7 +22,7 @@ @Test void test() { System.out.println(defaultPwdEncoder.encode("qyjz2022!@#")); } }