mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Add oshash support (#667)
This commit is contained in:
@@ -908,7 +908,7 @@ func TestSceneUpdateSceneCover(t *testing.T) {
|
||||
const name = "TestSceneUpdateSceneCover"
|
||||
scene := models.Scene{
|
||||
Path: name,
|
||||
Checksum: utils.MD5FromString(name),
|
||||
Checksum: sql.NullString{String: utils.MD5FromString(name), Valid: true},
|
||||
}
|
||||
created, err := qb.Create(scene, tx)
|
||||
if err != nil {
|
||||
@@ -955,7 +955,7 @@ func TestSceneDestroySceneCover(t *testing.T) {
|
||||
const name = "TestSceneDestroySceneCover"
|
||||
scene := models.Scene{
|
||||
Path: name,
|
||||
Checksum: utils.MD5FromString(name),
|
||||
Checksum: sql.NullString{String: utils.MD5FromString(name), Valid: true},
|
||||
}
|
||||
created, err := qb.Create(scene, tx)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user