Skip to content

Commit

Permalink
integration test updated
Browse files Browse the repository at this point in the history
  • Loading branch information
e-asphyx committed Jan 24, 2024
1 parent 415d3c5 commit 8ec38d6
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions integration_test/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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)
}

0 comments on commit 8ec38d6

Please sign in to comment.