mirror of
https://github.com/stashapp/stash.git
synced 2026-04-15 19:40:56 +02:00
PR Unit test fixes
This commit is contained in:
parent
16f31ba796
commit
39c5a98142
2 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ func Test_fileFileStore_Create(t *testing.T) {
|
|||
width = 640
|
||||
height = 480
|
||||
framerate = 2.345
|
||||
frames = 3
|
||||
frames int64 = 3
|
||||
bitrate int64 = 234
|
||||
videoCodec = "videoCodec"
|
||||
audioCodec = "audioCodec"
|
||||
|
|
@ -260,7 +260,7 @@ func Test_fileStore_Update(t *testing.T) {
|
|||
width = 640
|
||||
height = 480
|
||||
framerate = 2.345
|
||||
frames = 3
|
||||
frames int64 = 3
|
||||
bitrate int64 = 234
|
||||
videoCodec = "videoCodec"
|
||||
audioCodec = "audioCodec"
|
||||
|
|
|
|||
|
|
@ -925,7 +925,7 @@ func makeFile(i int) models.File {
|
|||
VideoCodec: getFileStringValue(i, "videoCodec"),
|
||||
AudioCodec: getFileStringValue(i, "audioCodec"),
|
||||
FrameRate: getFileDuration(i) * 2,
|
||||
Frames: getFileDuration(i) * 3,
|
||||
Frames: int64(getFileDuration(i)) * 3,
|
||||
BitRate: int64(getFileDuration(i)) * 3,
|
||||
}
|
||||
} else if i >= fileIdxStartImageFiles && i < fileIdxStartGalleryFiles {
|
||||
|
|
|
|||
Loading…
Reference in a new issue