This commit is contained in:
lxp
2026-11-04 11:24:03 +08:00
parent 4d7bd685f5
commit df81883eb8
@@ -15,6 +15,7 @@ import com.linkerbot.vibemake.service.config.OssProperties;
import com.linkerbot.vibemake.service.mapper.*;
import com.linkerbot.vibemake.service.migration.GitHubSourceChecks;
import com.linkerbot.vibemake.service.oss.OssObjectStore;
import com.linkerbot.vibemake.service.oss.OssResourcePaths;
import com.linkerbot.vibemake.service.support.*;
import org.junit.jupiter.api.*;
@@ -114,6 +115,7 @@ class AdminWorkflowTest {
@Autowired javax.sql.DataSource dataSource;
@Autowired org.springframework.transaction.support.TransactionTemplate transactions;
@Autowired OssProperties oss;
@Autowired OssResourcePaths resourcePaths;
@Autowired FakeOssObjectStore ossObjects;
private User admin;
private User ordinary;
@@ -390,7 +392,7 @@ class AdminWorkflowTest {
try (ProjectLocks restarted = new ProjectLocks(dataSource, projects)) {
com.linkerbot.vibemake.service.write.RepositoryWrites worker =
new com.linkerbot.vibemake.service.write.RepositoryWrites(writeOperations, projects,
projectService, restarted, gitea, transactions);
projectService, restarted, gitea, transactions, resourcePaths);
worker.reconcileDue();
}
assertThat(operationState(key)).isEqualTo("SUCCEEDED");