From 0da9d6e9f8024ac03b6bcfbc1568807dc573fa2d Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Thu, 30 Nov 2023 01:50:44 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=E3=83=A6=E3=83=8B=E3=83=BC=E3=82=AF?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=83=87=E3=83=83=E3=82=AF=E3=82=B9=E3=81=AE?= =?UTF-8?q?=E5=88=B6=E7=B4=84=E3=81=AB=E5=AF=BE=E5=BF=9C=E3=81=99=E3=82=8B?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/intTest/kotlin/mastodon/media/MediaTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intTest/kotlin/mastodon/media/MediaTest.kt b/src/intTest/kotlin/mastodon/media/MediaTest.kt index 4c9ee710..43a881cf 100644 --- a/src/intTest/kotlin/mastodon/media/MediaTest.kt +++ b/src/intTest/kotlin/mastodon/media/MediaTest.kt @@ -52,7 +52,7 @@ class MediaTest { @Test fun メディアをアップロードできる() = runTest { - whenever(mediaDataStore.save(any())).doReturn(SuccessSavedMedia("", "", "")) + whenever(mediaDataStore.save(any())).doReturn(SuccessSavedMedia("", "a", "a")) mockMvc .multipart("/api/v1/media") { @@ -73,7 +73,7 @@ class MediaTest { @Test fun write_mediaスコープでメディアをアップロードできる() = runTest { - whenever(mediaDataStore.save(any())).doReturn(SuccessSavedMedia("", "", "")) + whenever(mediaDataStore.save(any())).doReturn(SuccessSavedMedia("", "b", "b")) mockMvc .multipart("/api/v1/media") {