From 7cdcb7cf89f853ba3a685258a8aa58be185aabf1 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Wed, 23 Sep 2026 21:54:54 +0200 Subject: [PATCH] test(08-07): add failing RED anchor for fonoteka:oauth-client command - TestPhase8RedOAuthClientCommand drives the not-implemented command stub's create path and fails with PHASE8_RED:oauth-command until the real create/update/list behavior lands (D-19) - oauth_client.go stub declares the exact PHP-parity flag/argument contract (name, --redirect-uri=*, --scope=*, --auth-method, --client-id, --list) so the RED test exercises the real command shape - user/console_test.go's emailArg gains Flags(string) []string: bonfire's Input interface (summercms.go) grew this method for D-19's repeatable flags, and emailArg must satisfy it to keep building --- console_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/console_test.go b/console_test.go index 3cfa77d..8fd1f57 100644 --- a/console_test.go +++ b/console_test.go @@ -52,3 +52,5 @@ func (e emailArg) Argument(name string) (string, bool) { } func (e emailArg) Flag(string) (string, bool) { return "", false } + +func (e emailArg) Flags(string) []string { return nil }