Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
harture committed Jan 10, 2019
1 parent bce87ac commit 3a25cc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/event/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ func TestAdminComponent(t *testing.T) {
var adminEvt *fb.AdminEvent = createAdminEvent(fb.OperationTypeCREATE, 1234)
var err = adminEventComponent.AdminEvent(nil, adminEvt)

assert.Equal(t, getOpertimech)
assert.Equal(t, getOperationTypeName(fb.OperationTypeCREATE), <-ch)
assert.Nil(t, err)
}

var operationTypes = [4]inttime
fb.OperationTypeUPDATE,time
var operationTypes = [4]int8{fb.OperationTypeCREATE,
fb.OperationTypeUPDATE,
fb.OperationTypeDELETE,
fb.OperationTypeACTION}

Expand Down

0 comments on commit 3a25cc0

Please sign in to comment.