File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
main/kotlin/com/taskforce/superinvention/app/domain/club
test/kotlin/com/taskforce/superinvention/app/domain/club Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ class ClubService(
162
162
val imgFolder = " club/${club.seq} "
163
163
val movedFile: S3Path = awsS3Mo.moveFile(request.img!! , " $imgFolder /${request.img!! .fileName} " )
164
164
webpConvertService.convertToWebP(movedFile)
165
-
165
+
166
166
club.mainImageUrl = movedFile.absolutePath
167
167
club.mainImagePath = movedFile.filePath
168
168
club.mainImageName = movedFile.fileName
Original file line number Diff line number Diff line change @@ -186,6 +186,8 @@ internal class ClubServiceTest: MockTest() {
186
186
fileName = " file.jpg" ,
187
187
)
188
188
189
+ every { webpConvertService.convertToWebP(any()) } returns Unit
190
+
189
191
// when
190
192
clubService.addClub(superUser, requestBody)
191
193
You can’t perform that action at this time.
0 commit comments