Skip to content

Commit

Permalink
chore: 메서드명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokjin8678 committed Apr 14, 2024
1 parent bee227e commit 8bdbf65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class MockDataStartupInitializer {
@EventListener(ApplicationReadyEvent.class)
public void initialize() {
if (forMockSchoolRepository.count() == 0) {
mockDataService.makeMockArtist();
mockDataService.makeMockArtists();
mockDataService.makeMockSchools();
mockDataService.makeMockFestivals(AVAILABLE_FESTIVAL_DURATION);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class MockDataService {
private final ForMockStageArtistRepository stageArtistRepository;
private final ApplicationEventPublisher eventPublisher;

public void makeMockArtist() {
public void makeMockArtists() {
artistRepository.saveAll(mockArtistsGenerator.generate());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class makeMockFestivals {
@BeforeEach
void setUp() {
mockDataService.makeMockSchools();
mockDataService.makeMockArtist();
mockDataService.makeMockArtists();
}

@Test
Expand Down

0 comments on commit 8bdbf65

Please sign in to comment.