diff --git a/cli/tests/run_cli_tests.py b/cli/tests/run_cli_tests.py index 24ece3d0..f513b228 100755 --- a/cli/tests/run_cli_tests.py +++ b/cli/tests/run_cli_tests.py @@ -54,8 +54,8 @@ def run_cli_test(): # Test 3: CLI blockchain command print("\n3. Testing CLI blockchain command...") try: - result = run_command("blockchain", "block", "--number", "1") - + result = run_command("blockchain", "block", "1") + if result.returncode == 0 and "Block #1" in result.stdout: print("✅ CLI blockchain command working") else: