package com.ningdatech.pmapi.organization;

import com.ningdatech.pmapi.AppTests;
import com.ningdatech.pmapi.ding.task.EmployeeBatchGetTask;
import com.ningdatech.pmapi.ding.task.OrganizationBatchGetTask;
import com.ningdatech.zwdd.client.ZwddAuthClient;
import com.ningdatech.zwdd.client.ZwddClient;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author liuxinxin
 * @date 2023/2/9 下午3:54
 */

class OrganizationTest extends AppTests {

    @Autowired
    private ZwddClient zwddClient;

    @Autowired
    private ZwddAuthClient zwddAuthClient;

    @Autowired
    private OrganizationBatchGetTask organizationBatchGetTask;

    @Autowired
    private EmployeeBatchGetTask employeeBatchGetTask;

    @Test
    public void testBatchGetOrganization() {
        organizationBatchGetTask.batchGetOrganizationTask();
    }

    @Test
    public void testEmployeeBatchGetTask(){
        employeeBatchGetTask.batchGetEmployeeTask();
    }

}
