From 757b20f0fa7c771a3432256c222735dd6ed6271b Mon Sep 17 00:00:00 2001 From: nickshorebird Date: Thu, 14 May 2026 15:01:01 -0400 Subject: [PATCH] chore(shorebird_cli): drop dead progress stub from account command tests (#3759) --- .../test/src/commands/account/apps_command_test.dart | 3 --- .../test/src/commands/account/orgs_command_test.dart | 3 --- 2 files changed, 6 deletions(-) diff --git a/packages/shorebird_cli/test/src/commands/account/apps_command_test.dart b/packages/shorebird_cli/test/src/commands/account/apps_command_test.dart index f50e44dc..1aa3ff9f 100644 --- a/packages/shorebird_cli/test/src/commands/account/apps_command_test.dart +++ b/packages/shorebird_cli/test/src/commands/account/apps_command_test.dart @@ -37,7 +37,6 @@ void main() { late CodePushClientWrapper codePushClientWrapper; late ShorebirdValidator shorebirdValidator; late ShorebirdLogger logger; - late Progress progress; late AppsCommand command; R runWithOverrides(R Function() body) { @@ -56,11 +55,9 @@ void main() { argResults = MockArgResults(); codePushClientWrapper = MockCodePushClientWrapper(); logger = MockShorebirdLogger(); - progress = MockProgress(); shorebirdValidator = MockShorebirdValidator(); command = runWithOverrides(AppsCommand.new)..testArgResults = argResults; - when(() => logger.progress(any())).thenReturn(progress); when(() => argResults.rest).thenReturn([]); when( () => shorebirdValidator.validatePreconditions( diff --git a/packages/shorebird_cli/test/src/commands/account/orgs_command_test.dart b/packages/shorebird_cli/test/src/commands/account/orgs_command_test.dart index ca3d6587..69ebda40 100644 --- a/packages/shorebird_cli/test/src/commands/account/orgs_command_test.dart +++ b/packages/shorebird_cli/test/src/commands/account/orgs_command_test.dart @@ -43,7 +43,6 @@ void main() { late CodePushClientWrapper codePushClientWrapper; late ShorebirdValidator shorebirdValidator; late ShorebirdLogger logger; - late Progress progress; late OrgsCommand command; R runWithOverrides(R Function() body) { @@ -62,11 +61,9 @@ void main() { argResults = MockArgResults(); codePushClientWrapper = MockCodePushClientWrapper(); logger = MockShorebirdLogger(); - progress = MockProgress(); shorebirdValidator = MockShorebirdValidator(); command = runWithOverrides(OrgsCommand.new)..testArgResults = argResults; - when(() => logger.progress(any())).thenReturn(progress); when(() => argResults.rest).thenReturn([]); when( () => shorebirdValidator.validatePreconditions(