| | |
| | | package com.example.erp; |
| | | |
| | | import org.junit.jupiter.api.Test; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | import org.springframework.data.redis.core.StringRedisTemplate; |
| | | |
| | | import static org.apache.tomcat.jni.Lock.trylock; |
| | | |
| | | @SpringBootTest |
| | | class ErpApplicationTests { |
| | | @Autowired |
| | | private StringRedisTemplate stringRedisTemplate; |
| | | |
| | | @Test |
| | | void contextLoads() { |
| | |
| | | |
| | | @Test |
| | | void test() { |
| | | |
| | | // stringRedisTemplate.opsForValue().set("test", "test"); |
| | | // Object test = stringRedisTemplate.opsForValue().get("test"); |
| | | } |
| | | |
| | | } |