24 lines
553 B
Java
24 lines
553 B
Java
package com.gzzn.omms.msgexchangeapi.redis;
|
|
|
|
import java.util.Arrays;
|
|
|
|
import org.junit.Test;
|
|
import org.junit.runner.RunWith;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
|
|
@RunWith(SpringRunner.class)
|
|
@SpringBootTest
|
|
public class RedisServiceTest {
|
|
|
|
@Autowired
|
|
RedisService redisService;
|
|
|
|
@Test
|
|
public void removeFlightInfo()
|
|
{
|
|
redisService.del(Arrays.asList("FlightInfo:"));
|
|
}
|
|
}
|