From 8ec38d60eb4c26363d65103ddcba59290898f43b Mon Sep 17 00:00:00 2001 From: Eugene Zagidullin Date: Wed, 24 Jan 2024 20:12:12 +0200 Subject: [PATCH] integration test updated --- integration_test/cli_test.go | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/integration_test/cli_test.go b/integration_test/cli_test.go index 7d522d08..799b157d 100644 --- a/integration_test/cli_test.go +++ b/integration_test/cli_test.go @@ -40,26 +40,40 @@ func TestCliListOps(t *testing.T) { assert.Nil(t, err) require.Contains(t, string(out), "Possible operation types:") require.Contains(t, string(out), "- activate_account") + require.Contains(t, string(out), "- attestation") require.Contains(t, string(out), "- ballot") + require.Contains(t, string(out), "- dal_attestation") + require.Contains(t, string(out), "- dal_publish_slot_header") require.Contains(t, string(out), "- delegation") + require.Contains(t, string(out), "- double_attestation_evidence") require.Contains(t, string(out), "- double_baking_evidence") - require.Contains(t, string(out), "- double_endorsement_evidence") - require.Contains(t, string(out), "- double_preendorsement_evidence") + require.Contains(t, string(out), "- double_preattestation_evidence") require.Contains(t, string(out), "- drain_delegate") - require.Contains(t, string(out), "- endorsement") - require.Contains(t, string(out), "- endorsement_with_slot") require.Contains(t, string(out), "- failing_noop") require.Contains(t, string(out), "- increase_paid_storage") require.Contains(t, string(out), "- origination") - require.Contains(t, string(out), "- preendorsement") + require.Contains(t, string(out), "- preattestation") require.Contains(t, string(out), "- proposals") require.Contains(t, string(out), "- register_global_constant") require.Contains(t, string(out), "- reveal") require.Contains(t, string(out), "- seed_nonce_revelation") require.Contains(t, string(out), "- set_deposits_limit") + require.Contains(t, string(out), "- signature_prefix") + require.Contains(t, string(out), "- smart_rollup_add_messages") + require.Contains(t, string(out), "- smart_rollup_cement") + require.Contains(t, string(out), "- smart_rollup_execute_outbox_message") + require.Contains(t, string(out), "- smart_rollup_originate") + require.Contains(t, string(out), "- smart_rollup_publish") + require.Contains(t, string(out), "- smart_rollup_recover_bond") + require.Contains(t, string(out), "- smart_rollup_refute") + require.Contains(t, string(out), "- smart_rollup_timeout") require.Contains(t, string(out), "- transaction") + require.Contains(t, string(out), "- transfer_ticket") require.Contains(t, string(out), "- update_consensus_key") require.Contains(t, string(out), "- vdf_revelation") + require.Contains(t, string(out), "- zk_rollup_origination") + require.Contains(t, string(out), "- zk_rollup_publish") + require.Contains(t, string(out), "- zk_rollup_update") } func TestCliListRequests(t *testing.T) { @@ -110,5 +124,6 @@ func TestCliVersion(t *testing.T) { require.Contains(t, string(v), "Release Version: ") require.Greater(t, len(v), len("Release Version: ")+4) version, err := SignatoryCli("version") + assert.Nil(t, err) require.Equal(t, v, version) }