package com.nisemoe.nise.scheduler

import com.nisemoe.nise.database.UserService
import com.nisemoe.nise.osu.OsuApi
import com.nisemoe.nise.osu.TokenService
import com.nisemoe.nise.service.CacheService
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.mock.mockito.MockBean
import org.springframework.context.annotation.Import
import org.springframework.test.context.ActiveProfiles

@SpringBootTest
@ActiveProfiles("postgres", "agent")
@MockBean(GlobalCache::class, UserService::class)
@Import(Agent::class, OsuApi::class, TokenService::class, CacheService::class)
@Disabled
class AgentTest {

    @Autowired
    lateinit var agent: Agent

    @Test
    fun buildReports() {
        agent.buildReports()
    }

}