mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
added store-api
This commit is contained in:
@@ -105,11 +105,9 @@ public abstract class ManagerTestBase<T extends TypedObject,
|
||||
tempDirectory = new File(System.getProperty("java.io.tmpdir"),
|
||||
UUID.randomUUID().toString());
|
||||
assertTrue(tempDirectory.mkdirs());
|
||||
manager = createManager();
|
||||
|
||||
SCMContextProvider provider = mock(SCMContextProvider.class);
|
||||
|
||||
provider = mock(SCMContextProvider.class);
|
||||
when(provider.getBaseDirectory()).thenReturn(tempDirectory);
|
||||
manager = createManager();
|
||||
manager.init(provider);
|
||||
}
|
||||
|
||||
@@ -143,6 +141,9 @@ public abstract class ManagerTestBase<T extends TypedObject,
|
||||
/** Field description */
|
||||
protected Manager<T, E> manager;
|
||||
|
||||
/** Field description */
|
||||
protected SCMContextProvider provider;
|
||||
|
||||
/** Field description */
|
||||
protected File tempDirectory;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user