package com.emoon.openplatform.service.impl;

import cn.hutool.json.JSONUtil;
import com.emoon.openplatform.domain.SysProjectDo;
import com.emoon.openplatform.service.ISysProjectService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import static org.junit.jupiter.api.Assertions.*;

/**
 * @author destiny
 * @description:
 * @date 2025/9/29 10:48
 */
@SpringBootTest
class SysProjectServiceImplTest {

    @Autowired
    private ISysProjectService ISysProjectService;

    ;@Test
    void queryByPublicKey() {
        SysProjectDo sysProjectDo = ISysProjectService.queryByPublicKey("aslkdjlasjdlkasjdljal3");
        System.out.println(JSONUtil.toJsonPrettyStr(sysProjectDo));
        assertNotNull(sysProjectDo);
    }
}
