package com.prolog.eis.service.sys;

import com.prolog.eis.EisDismantleApplication;
import com.prolog.eis.constants.sys.SysParamConstants;
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;

@SpringBootTest(classes = EisDismantleApplication.class)
@RunWith(SpringRunner.class)
public class SysParamServiceTest {
    @Autowired
    private SysParamService sysParamService;

    @Test
    public void updateSysParam() {
        sysParamService.updateSysParam(SysParamConstants.GIRL_BIND_TIME, String.valueOf(System.currentTimeMillis()));
    }
}