mirror of https://github.com/usbharu/Hideout.git
test: ExposedMediaRepositoryのテストを修正
This commit is contained in:
parent
93e93c6b01
commit
498d6d73da
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue