mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 08:44:04 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user