Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Mar 19, 2024
1 parent c566abd commit 2bfb52d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions node/plugin/tests/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,19 +147,6 @@ func TestPluginOptInAndQuorumUpdate(t *testing.T) {
ids, err := tx.GetNumberOfRegisteredOperatorForQuorum(context.Background(), core.QuorumID(0))
assert.NoError(t, err)
assert.Equal(t, uint32(1), ids)

registeredQuorumIds, err = tx.GetRegisteredQuorumIdsForOperator(context.Background(), operatorID)
assert.NoError(t, err)
assert.Equal(t, 1, len(registeredQuorumIds))
assert.Equal(t, uint8(1), registeredQuorumIds[0])

ids, err = tx.GetNumberOfRegisteredOperatorForQuorum(context.Background(), core.QuorumID(0))
assert.NoError(t, err)
assert.Equal(t, uint32(0), ids)

ids, err = tx.GetNumberOfRegisteredOperatorForQuorum(context.Background(), core.QuorumID(1))
assert.NoError(t, err)
assert.Equal(t, uint32(1), ids)
}

func TestPluginInvalidOperation(t *testing.T) {
Expand Down

0 comments on commit 2bfb52d

Please sign in to comment.