mirror of
https://github.com/vran-dev/databasir.git
synced 2025-08-09 15:15:28 +08:00
support manual upload driver file (#131)
* feat: support upload driver from local * feat: support get origin driver file name * fix: checkstyle * fix: compile error * feat: update docs
This commit is contained in:
@@ -36,7 +36,9 @@ class DatabaseTypeServiceTest extends BaseTest {
|
||||
@BeforeEach
|
||||
public void setUp() {
|
||||
Mockito.doNothing().when(driverResources).validateDriverJar(any(), anyString());
|
||||
Mockito.when(driverResources.load(any(), anyString(), anyString()))
|
||||
Mockito.when(driverResources.tempLoadFromRemote(any()))
|
||||
.thenReturn(new DriverResult("", null));
|
||||
Mockito.when(driverResources.loadFromLocal(any()))
|
||||
.thenReturn(new DriverResult("", null));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user