From 4fd24fe57882f19edf9b728ab3f01c7504686d9e Mon Sep 17 00:00:00 2001 From: Felix Angelov Date: Mon, 16 Jun 2025 18:09:04 -0500 Subject: [PATCH] test(shorebird_cli): use `shorebird create` in integration tests (#3176) --- .../shorebird_cli_integration_test.dart | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/shorebird_cli/integration_test/shorebird_cli_integration_test.dart b/packages/shorebird_cli/integration_test/shorebird_cli_integration_test.dart index da16a4e1..21ebe5ca 100644 --- a/packages/shorebird_cli/integration_test/shorebird_cli_integration_test.dart +++ b/packages/shorebird_cli/integration_test/shorebird_cli_integration_test.dart @@ -94,22 +94,15 @@ void main() { var cwd = subDirWithSpace.path; // Create the default flutter counter app - logger.info('running `flutter create $testAppName` in $cwd'); + logger.info('running `shorebird create $testAppName` in $cwd'); final createAppResult = runCommand( - 'flutter create $testAppName', + 'shorebird create $testAppName', workingDirectory: cwd, ); expect(createAppResult.exitCode, equals(0)); cwd = p.join(cwd, testAppName); - // Initialize Shorebird - final initShorebirdResult = runCommand( - 'shorebird init --verbose', - workingDirectory: cwd, - ); - expect(initShorebirdResult.exitCode, equals(0)); - final shorebirdYamlPath = p.join(cwd, 'shorebird.yaml'); final shorebirdYamlText = File(shorebirdYamlPath).readAsStringSync(); final shorebirdYaml = checkedYamlDecode(