HaikangApplicationTests.java
600 Bytes
package com.sincere.haikang;
import com.sincere.haikang.server.AttendanceService;
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 HaikangApplicationTests {
@Autowired
AttendanceService attendanceService;
@Test
public void contextLoads() {
attendanceService.insert("11111111","23", "1", 0 + "", "", "0", "1");
}
}