fix: ut failed

This commit is contained in:
vran 2022-04-23 17:21:40 +08:00
parent 0eeccb2760
commit c5de54bf53
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class DatabaseTypeServiceTest extends BaseTest {
@BeforeEach
public void setUp() {
Mockito.doNothing().when(driverResources).validateDriverJar(any(), anyString());
Mockito.when(driverResources.load(anyString(), anyString(), anyString()))
Mockito.when(driverResources.load(any(), anyString(), anyString()))
.thenReturn(new DriverResult("", null));
}