package com.malk.kangcheng;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.malk.kangcheng.service.YSEITaskService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.io.UnsupportedEncodingException;

@SpringBootTest
class KangchengApplicationTests {

    @Autowired
    private YSEITaskService yseitaskSrevice;
//    @Test
//    void contextLoads() {
//    }
//
    @Test
    public void test() throws JsonProcessingException, UnsupportedEncodingException {
        yseitaskSrevice.syncAttendance();
    }

}
