Fix unit test

This commit is contained in:
Eduard Heimbuch
2021-01-26 12:51:07 +01:00
8 changed files with 113 additions and 26 deletions

View File

@@ -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());
}
}