Backend: Upgrade github.com/olekukonko/tablewriter from v0.0.5 to v1.0.7

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-06-24 12:48:38 +02:00
parent 982f864cc0
commit a965c32188
12 changed files with 82 additions and 57 deletions

View File

@@ -29,7 +29,7 @@ func TestAuthListCommand(t *testing.T) {
assert.Contains(t, output, "alice ")
assert.NotContains(t, output, "bob ")
assert.NotContains(t, output, "visitor ")
assert.NotContains(t, output, "| Preview Token |")
assert.NotContains(t, output, " Preview Token ")
})
t.Run("CSV", func(t *testing.T) {
// Run command with test context.
@@ -50,8 +50,8 @@ func TestAuthListCommand(t *testing.T) {
// Check command output for plausibility.
// t.Logf(output)
assert.NoError(t, err)
assert.Contains(t, output, "| Session ID |")
assert.Contains(t, output, "| Preview Token |")
assert.Contains(t, output, " Session ID ")
assert.Contains(t, output, " Preview Token ")
assert.Contains(t, output, "alice ")
assert.NotContains(t, output, "bob ")
assert.NotContains(t, output, "visitor")