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,
|
1,
|
||||||
"pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg",
|
"pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg",
|
||||||
"http://localhost:8081/files/1833054358862827520.jpeg",
|
"http://localhost:8081/files/1833054358862827520.jpeg",
|
||||||
null,
|
"http://localhost:8081/files/183305453584862827520.jpeg",
|
||||||
"http://localhost:8081/files/thumbnail-1833054358862827520.jpeg",
|
"http://localhost:8081/files/thumbnail-1833054358862827520.jpeg",
|
||||||
"Image",
|
"Image",
|
||||||
"U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay",
|
"U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay",
|
||||||
|
@ -268,7 +268,7 @@ class ExposedMediaRepositoryTest : AbstractRepositoryTest(Media) {
|
||||||
id = MediaId(1),
|
id = MediaId(1),
|
||||||
name = MediaName("pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg"),
|
name = MediaName("pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg"),
|
||||||
url = URI.create("http://localhost:8081/files/1833054358862827520.jpeg"),
|
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"),
|
thumbnailUrl = URI.create("http://localhost:8081/files/thumbnail-1833054358862827520.jpeg"),
|
||||||
type = FileType.Image,
|
type = FileType.Image,
|
||||||
mimeType = MimeType("image", "jpeg", 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",
|
"pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg",
|
||||||
"http://localhost:8081/files/1833054358862827520.jpeg",
|
"http://localhost:8081/files/1833054358862827520.jpeg",
|
||||||
null,
|
null,
|
||||||
"http://localhost:8081/files/thumbnail-1833054358862827520.jpeg",
|
null,
|
||||||
"Image",
|
"Image",
|
||||||
"U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay",
|
"U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay",
|
||||||
"image/jpeg",
|
"image/jpeg",
|
||||||
null,
|
"",
|
||||||
1
|
1
|
||||||
)
|
)
|
||||||
values(
|
values(
|
||||||
|
@ -334,7 +334,7 @@ class ExposedMediaRepositoryTest : AbstractRepositoryTest(Media) {
|
||||||
null,
|
null,
|
||||||
"http://localhost:8081/files/thumbn3ail-1833054358862827520.jpeg",
|
"http://localhost:8081/files/thumbn3ail-1833054358862827520.jpeg",
|
||||||
"Image",
|
"Image",
|
||||||
"U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay",
|
null,
|
||||||
"image/jpeg",
|
"image/jpeg",
|
||||||
null,
|
null,
|
||||||
1
|
1
|
||||||
|
@ -343,8 +343,8 @@ class ExposedMediaRepositoryTest : AbstractRepositoryTest(Media) {
|
||||||
2,
|
2,
|
||||||
"pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg",
|
"pnc__picked_media_256f8e6d-68cd-4a76-bb38-57e35f6ca8c6.jpg",
|
||||||
"http://localhost:8081/files/18330545358862827520.jpeg",
|
"http://localhost:8081/files/18330545358862827520.jpeg",
|
||||||
|
"http://localhost:8081/files/183305453584862827520.jpeg",
|
||||||
null,
|
null,
|
||||||
"http://localhost:8081/files/thumbnai5l-1833054358862827520.jpeg",
|
|
||||||
"Image",
|
"Image",
|
||||||
"U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay",
|
"U\$JuAZWBxut7~qoLoft6j]t7Rjj[RjayWBay",
|
||||||
"image/jpeg",
|
"image/jpeg",
|
||||||
|
|
Loading…
Reference in New Issue