We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7536202 + 8cd049a commit 1ef212aCopy full SHA for 1ef212a
src/test/java/starlight/adapter/member/auth/redis/RedisKeyValueMapTest.java
@@ -81,7 +81,7 @@ void getValue_Success() {
81
82
@Test
83
@DisplayName("getValue 실패 - 값이 없는 경우")
84
- void getValue_ReturnEmptyString() {
+ void getValue_ReturnNull() {
85
// given
86
String key = "testKey";
87
given(redisTemplate.opsForValue()).willReturn(valueOperations);
@@ -91,7 +91,7 @@ void getValue_ReturnEmptyString() {
91
String result = redisKeyValueMap.getValue(key);
92
93
// then
94
- assertThat(result).isEmpty();
+ assertThat(result).isNull();
95
}
96
97
0 commit comments