Skip to content

Commit 1ef212a

Browse files
authored
Merge pull request #74 from StartUpLight/SRLT-111-전문가-상세페이지-api
[SRLT-111] Fix: Redis getValue null 반환에 맞춰 테스트를 정리한다
2 parents 7536202 + 8cd049a commit 1ef212a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/starlight/adapter/member/auth/redis/RedisKeyValueMapTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void getValue_Success() {
8181

8282
@Test
8383
@DisplayName("getValue 실패 - 값이 없는 경우")
84-
void getValue_ReturnEmptyString() {
84+
void getValue_ReturnNull() {
8585
// given
8686
String key = "testKey";
8787
given(redisTemplate.opsForValue()).willReturn(valueOperations);
@@ -91,7 +91,7 @@ void getValue_ReturnEmptyString() {
9191
String result = redisKeyValueMap.getValue(key);
9292

9393
// then
94-
assertThat(result).isEmpty();
94+
assertThat(result).isNull();
9595
}
9696

9797
@Test

0 commit comments

Comments
 (0)