Skip to content

Commit

Permalink
[fix] 더 이상 사용하지 않는 stub 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-KoKo committed Aug 28, 2024
1 parent e46d4fc commit 5b7f7a3
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ void testUpdateStockNotCacheAndNotLocked() throws InterruptedException {
when(atomicLongMock.isExists()).thenReturn(false);
when(redissonClient.getLock(anyString())).thenReturn(lockMock);
when(lockMock.tryLock(anyLong(), anyLong(), any())).thenReturn(true);
when(lockMock.isHeldByCurrentThread()).thenReturn(true);

// when
redisMenuStockCacheService.updateStock(menuId, stock);
Expand Down

0 comments on commit 5b7f7a3

Please sign in to comment.