Add oshash support (#667)

This commit is contained in:
WithoutPants
2020-08-06 11:21:14 +10:00
committed by GitHub
parent f59ad0ca2b
commit 5992ff8706
50 changed files with 1276 additions and 195 deletions

View File

@@ -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 {