CLI: Add RunWithTestContext function for command tests #3168

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-12-06 09:08:38 +01:00
parent 374e0de8cc
commit cd4e6f1b57
61 changed files with 231 additions and 329 deletions

View File

@@ -19,7 +19,7 @@ import (
)
// PasswdCommand configures the command name, flags, and action.
var PasswdCommand = cli.Command{
var PasswdCommand = &cli.Command{
Name: "passwd",
Usage: "Changes the local account password of a registered user",
ArgsUsage: "[username]",