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") {