密钥值查找测试
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.sunyard.chsm.service;
|
||||
|
||||
import com.sunyard.chsm.WebServerApp;
|
||||
import com.sunyard.chsm.model.dto.KeyInfoDTO;
|
||||
import com.sunyard.chsm.model.entity.KeyRecord;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@Slf4j
|
||||
@SpringBootTest(classes = WebServerApp.class)
|
||||
public class SYMEncryptControllerTest {
|
||||
|
||||
private static final long TEST_APP_ID = 1852232967292882946L;
|
||||
private static final long TEST_KEY_ID = 1852232967292882945L;
|
||||
|
||||
@Autowired
|
||||
private KeyRecordService keyRecordService;
|
||||
|
||||
|
||||
@Test
|
||||
void testSelectKey() {
|
||||
KeyRecord key = keyRecordService.selectByKeyId(TEST_KEY_ID);
|
||||
System.out.println(key);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user