guoyujie
2025-11-17 7fdc12195ab810476f01f6d332cbcd0a271effdb
north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
@@ -1,10 +1,16 @@
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() {
@@ -13,7 +19,8 @@
    @Test
    void test() {
//        stringRedisTemplate.opsForValue().set("test", "test");
//        Object test = stringRedisTemplate.opsForValue().get("test");
    }
}