mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CLI: Add RunWithTestContext function for command tests #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -5,16 +5,16 @@ import (
|
||||
)
|
||||
|
||||
// AuthCommands registers the API authentication subcommands.
|
||||
var AuthCommands = cli.Command{
|
||||
var AuthCommands = &cli.Command{
|
||||
Name: "auth",
|
||||
Aliases: []string{"sess"},
|
||||
Usage: "API authentication subcommands",
|
||||
Subcommands: []*cli.Command{
|
||||
&AuthListCommand,
|
||||
&AuthAddCommand,
|
||||
&AuthShowCommand,
|
||||
&AuthRemoveCommand,
|
||||
&AuthResetCommand,
|
||||
AuthListCommand,
|
||||
AuthAddCommand,
|
||||
AuthShowCommand,
|
||||
AuthRemoveCommand,
|
||||
AuthResetCommand,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user