package com.malk.pake;


import com.malk.pake.service.PkMaintenanceWarningService;
import com.malk.pake.service.PkWorkingHoursService;
import lombok.extern.slf4j.Slf4j;
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;

@Slf4j
@SpringBootTest
@RunWith(SpringRunner.class)
public class WorkingHoursTest {

    @Autowired
    private PkWorkingHoursService pkWorkingHoursService;
    @Autowired
    private PkMaintenanceWarningService pkMaintenanceWarningService;

    @Test
    public void test(){
        pkWorkingHoursService.fillInReminderPeople();
    }

    @Test
    public void testYd(){
        pkMaintenanceWarningService.warning();
    }
}
