Skip to content

Commit bea94c8

Browse files
fix: update ReflectionTestUtils field names to match renamed fields
PytubeSearchServiceTest still referenced old UPPER_CASE field names (BASE_URI, API_KEY, API_SECRET) after they were renamed to camelCase. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ed00671 commit bea94c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

playlist/src/test/java/com/pfplaybackend/api/playlist/application/service/search/PytubeSearchServiceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ class PytubeSearchServiceTest {
2929
@InjectMocks PytubeSearchService pytubeSearchService;
3030

3131
void setBaseConfig() {
32-
ReflectionTestUtils.setField(pytubeSearchService, "BASE_URI", "http://localhost:8080");
33-
ReflectionTestUtils.setField(pytubeSearchService, "API_KEY", "test-key");
34-
ReflectionTestUtils.setField(pytubeSearchService, "API_SECRET", "test-secret");
32+
ReflectionTestUtils.setField(pytubeSearchService, "baseUri", "http://localhost:8080");
33+
ReflectionTestUtils.setField(pytubeSearchService, "apiKey", "test-key");
34+
ReflectionTestUtils.setField(pytubeSearchService, "apiSecret", "test-secret");
3535
}
3636

3737
@Test

0 commit comments

Comments
 (0)