fix: fix ci error
This commit is contained in:
@@ -17,13 +17,15 @@
|
||||
|
||||
package com.onixbyte.devkit.utils;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@Slf4j
|
||||
public class TestAesUtil {
|
||||
|
||||
private final static Logger log = LoggerFactory.getLogger(TestAesUtil.class);
|
||||
|
||||
@Test
|
||||
public void testGenerateRandomSecret() {
|
||||
log.info("Secret is {}", AesUtil.generateRandomSecret());
|
||||
|
||||
@@ -17,13 +17,15 @@
|
||||
|
||||
package com.onixbyte.devkit.utils;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@Slf4j
|
||||
public class TestBase64Util {
|
||||
|
||||
private final static Logger log = LoggerFactory.getLogger(TestBase64Util.class);
|
||||
|
||||
@Test
|
||||
public void testEncode() {
|
||||
Assertions.assertEquals("SGVsbG8gV29ybGQ=", Base64Util.encode("Hello World"));
|
||||
|
||||
Reference in New Issue
Block a user