Merge pull request #47 from OnixByte/develop

fix: fix ci error
This commit is contained in:
Zihlu Wang
2025-01-25 20:41:03 +08:00
committed by GitHub
4 changed files with 17 additions and 11 deletions
@@ -17,12 +17,14 @@
package com.onixbyte.devkit.core.exceptions; package com.onixbyte.devkit.core.exceptions;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Slf4j
public class NotImplementationExceptionTest { public class NotImplementationExceptionTest {
private final static Logger log = LoggerFactory.getLogger(NotImplementationExceptionTest.class);
@Test @Test
public void testExceptionWithEmptyConstructor() { public void testExceptionWithEmptyConstructor() {
try { try {
@@ -17,13 +17,15 @@
package com.onixbyte.devkit.utils; package com.onixbyte.devkit.utils;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Slf4j
public class TestAesUtil { public class TestAesUtil {
private final static Logger log = LoggerFactory.getLogger(TestAesUtil.class);
@Test @Test
public void testGenerateRandomSecret() { public void testGenerateRandomSecret() {
log.info("Secret is {}", AesUtil.generateRandomSecret()); log.info("Secret is {}", AesUtil.generateRandomSecret());
@@ -17,13 +17,15 @@
package com.onixbyte.devkit.utils; package com.onixbyte.devkit.utils;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Slf4j
public class TestBase64Util { public class TestBase64Util {
private final static Logger log = LoggerFactory.getLogger(TestBase64Util.class);
@Test @Test
public void testEncode() { public void testEncode() {
Assertions.assertEquals("SGVsbG8gV29ybGQ=", Base64Util.encode("Hello World")); Assertions.assertEquals("SGVsbG8gV29ybGQ=", Base64Util.encode("Hello World"));
+5 -5
View File
@@ -15,13 +15,13 @@
# limitations under the License. # limitations under the License.
# #
jacksonVersion=2.18.0 jacksonVersion=2.18.2
javaJwtVersion=4.4.0 javaJwtVersion=4.4.0
junitVersion=5.11.2 junitVersion=5.11.4
logbackVersion=1.5.10 logbackVersion=1.5.16
slf4jVersion=2.0.16 slf4jVersion=2.0.16
springVersion=6.1.13 springVersion=6.2.1
springBootVersion=3.3.4 springBootVersion=3.4.1
artefactVersion=1.8.0 artefactVersion=1.8.0
projectUrl=https://onixbyte.com/JDevKit projectUrl=https://onixbyte.com/JDevKit