Skip to content

Commit

Permalink
Merge pull request #470 from bounswe/hot-fix
Browse files Browse the repository at this point in the history
hot fix unit test
  • Loading branch information
NazlicanAka authored Dec 3, 2024
2 parents 3c6a253 + e54f9bd commit e968fc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void testAddAssetToPortfolio_AssetNotFound() {
@Test
public void testAddAssetToPortfolio_AssetFound() {
AddAssetToPortfolioRequest request = new AddAssetToPortfolioRequest();
when(assetRepository.existsById(1L)).thenReturn(false);
when(assetRepository.existsById(1L)).thenReturn(true);

AddAssetToPortfolioResponse result = portfolioService.addAssetToPortfolio(request);

Expand Down

0 comments on commit e968fc7

Please sign in to comment.