mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
Fix unit test
This commit is contained in:
@@ -62,7 +62,7 @@ public class LfsBlobStoreFactoryTest {
|
||||
// just make sure the right parameter is passed, as properly validating the return value is nearly impossible with
|
||||
// the return value (and should not be part of this test)
|
||||
verify(blobStoreFactory).getStore(argThat(blobStoreParameters -> {
|
||||
assertThat(blobStoreParameters.getName()).isEqualTo("the-id-git-lfs");
|
||||
assertThat(blobStoreParameters.getName()).isEqualTo("git-lfs");
|
||||
assertThat(blobStoreParameters.getRepositoryId()).isEqualTo("the-id");
|
||||
return true;
|
||||
}));
|
||||
@@ -70,5 +70,4 @@ public class LfsBlobStoreFactoryTest {
|
||||
// make sure there have been no further usages of the factory
|
||||
verify(blobStoreFactory, times(1)).getStore(any());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user