Skip to content

Commit

Permalink
test(CacheRepositoryTest): Add MockBean
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang committed Nov 29, 2024
1 parent 2281bdf commit 344de32
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class CacheRepositoryTest {
@Qualifier("redisSimpleTemplate")
private RedisTemplate<String, Object> redisSimpleTemplate;

@MockBean
@Qualifier("redisBinaryTemplate")
private RedisTemplate<String, byte[]> redisBinaryTemplate;

@Mock
private ValueOperations<String, Object> valueOperations;

Expand Down

0 comments on commit 344de32

Please sign in to comment.