mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Run unit tests in separate databases to avoid conflicts
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
@@ -70,7 +70,7 @@ func TestLabel_Update(t *testing.T) {
|
||||
|
||||
err := Label.Update(*classifyLabel)
|
||||
if err != nil {
|
||||
t.Fatal("error")
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
assert.Equal(t, 5, Label.LabelPriority)
|
||||
@@ -89,7 +89,7 @@ func TestLabel_Update(t *testing.T) {
|
||||
|
||||
err := Label.Update(*classifyLabel)
|
||||
if err != nil {
|
||||
t.Fatal("error")
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
assert.Equal(t, 5, Label.LabelPriority)
|
||||
@@ -109,7 +109,7 @@ func TestLabel_Update(t *testing.T) {
|
||||
|
||||
err := Label.Update(*classifyLabel)
|
||||
if err != nil {
|
||||
t.Fatal("error")
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
assert.Equal(t, 5, Label.LabelPriority)
|
||||
|
||||
Reference in New Issue
Block a user