From 498d6d73daba21a271d4eeaa488ea0ce4971846f Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Wed, 11 Sep 2024 07:53:00 +0900 Subject: [PATCH] =?UTF-8?q?test:=20ExposedMediaRepository=E3=81=AE?= =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exposedrepository/ExposedMediaRepositoryTest.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hideout-core/src/test/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/ExposedMediaRepositoryTest.kt b/hideout-core/src/test/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/ExposedMediaRepositoryTest.kt index a9085f95..2691252e 100644 --- a/hideout-core/src/test/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/ExposedMediaRepositoryTest.kt +++ b/hideout-core/src/test/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/ExposedMediaRepositoryTest.kt @@ -252,7 +252,7 @@ class ExposedMediaRepositoryTest : AbstractRepositoryTest(Media) { 1, "pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg", "http://localhost:8081/files/1833054358862827520.jpeg", - null, + "http://localhost:8081/files/183305453584862827520.jpeg", "http://localhost:8081/files/thumbnail-1833054358862827520.jpeg", "Image", "U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay", @@ -268,7 +268,7 @@ class ExposedMediaRepositoryTest : AbstractRepositoryTest(Media) { id = MediaId(1), name = MediaName("pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg"), url = URI.create("http://localhost:8081/files/1833054358862827520.jpeg"), - remoteUrl = null, + remoteUrl = URI.create("http://localhost:8081/files/183305453584862827520.jpeg"), thumbnailUrl = URI.create("http://localhost:8081/files/thumbnail-1833054358862827520.jpeg"), type = FileType.Image, mimeType = MimeType("image", "jpeg", FileType.Image), @@ -320,11 +320,11 @@ class ExposedMediaRepositoryTest : AbstractRepositoryTest(Media) { "pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg", "http://localhost:8081/files/1833054358862827520.jpeg", null, - "http://localhost:8081/files/thumbnail-1833054358862827520.jpeg", + null, "Image", "U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay", "image/jpeg", - null, + "", 1 ) values( @@ -334,7 +334,7 @@ class ExposedMediaRepositoryTest : AbstractRepositoryTest(Media) { null, "http://localhost:8081/files/thumbn3ail-1833054358862827520.jpeg", "Image", - "U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay", + null, "image/jpeg", null, 1 @@ -343,8 +343,8 @@ class ExposedMediaRepositoryTest : AbstractRepositoryTest(Media) { 2, "pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg", "http://localhost:8081/files/18330545358862827520.jpeg", + "http://localhost:8081/files/183305453584862827520.jpeg", null, - "http://localhost:8081/files/thumbnai5l-1833054358862827520.jpeg", "Image", "U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay", "image/jpeg",