Skip to content

Commit

Permalink
fix: ContextConfiguration 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kimyu0218 committed Nov 18, 2024
1 parent b71bd14 commit 7bd824b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.nexters.goalpanzi.infrastructure.aws;

import com.nexters.goalpanzi.config.redis.RedisInitializer;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.web.multipart.MultipartFile;

import static com.nexters.goalpanzi.fixture.MissionFixture.IMAGE_FILE;
Expand All @@ -12,6 +14,9 @@
import static org.mockito.Mockito.when;

@SpringBootTest
@ContextConfiguration(
initializers = {RedisInitializer.class}
)
class S3ClientTest {

@MockBean
Expand Down

0 comments on commit 7bd824b

Please sign in to comment.