github.com/koko1123/flow-go-1@v0.29.6/model/flow/resultApproval_test.go (about)

     1  package flow_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  
     8  	"github.com/koko1123/flow-go-1/model/flow"
     9  	"github.com/koko1123/flow-go-1/utils/unittest"
    10  )
    11  
    12  func TestResultApprovalEncode(t *testing.T) {
    13  	ra := unittest.ResultApprovalFixture()
    14  	id := ra.ID()
    15  	assert.NotEqual(t, flow.ZeroID, id)
    16  }