Merge pull request #3300 from xinnan-tech/test/manager-api-runtime-warnings

test(manager-api): 清理测试运行告警
This commit is contained in:
CGD
2026-07-23 17:46:04 +08:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
@@ -22,6 +22,7 @@ import java.util.function.BiFunction;
import org.apache.ibatis.binding.MapperMethod;
import org.apache.ibatis.executor.BatchResult;
import org.apache.ibatis.logging.nologging.NoLoggingImpl;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.session.ExecutorType;
import org.apache.ibatis.session.SqlSession;
@@ -184,6 +185,10 @@ class BaseServiceImplTest {
}
private static class TestService extends BaseServiceImpl<TestMapper, TestEntity> {
private TestService() {
log = new NoLoggingImpl(TestService.class.getName());
}
@Override
protected String getSqlStatement(SqlMethod sqlMethod) {
return switch (sqlMethod) {