Index: Improve CLI command test assertions
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
7f70772d86
commit
d3d7912b4c
1 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,9 @@ func TestIndexCommand(t *testing.T) {
|
|||
if l != "" {
|
||||
// Expected index command output.
|
||||
assert.NotContains(t, l, "error")
|
||||
assert.Contains(t, l, "found no .ppignore file")
|
||||
assert.NotContains(t, l, "warning")
|
||||
assert.NotContains(t, l, "failed")
|
||||
assert.Contains(t, l, "closed database connection")
|
||||
} else {
|
||||
t.Fatal("log output missing")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue