mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-30 03:09:13 +01:00
Make type optional
This commit is contained in:
@@ -126,7 +126,7 @@ public class SecureKeyResolverTest
|
||||
{
|
||||
ConfigurationEntryStoreFactory factory = mock(ConfigurationEntryStoreFactory.class);
|
||||
|
||||
when(factory.forType(any())).thenCallRealMethod();
|
||||
when(factory.withName(any())).thenCallRealMethod();
|
||||
when(factory.getStore(argThat(storeParameters -> {
|
||||
assertThat(storeParameters.getName()).isEqualTo(SecureKeyResolver.STORE_NAME);
|
||||
assertThat(storeParameters.getType()).isEqualTo(SecureKey.class);
|
||||
|
||||
Reference in New Issue
Block a user