Skip to content

Commit

Permalink
fix wrapper tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcGrol committed Feb 17, 2018
1 parent 2cc05c3 commit 3ce8bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/event/wrappers_test.tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Test{{.Name}}Wrapper(t *testing.T) {
assert.Equal(t, {{.Name}}EventName, wrapped.EventTypeName)
// assert.Equal(t, "UID_{{.Name}}", wrapped.AggregateUID)
assert.Equal(t, "test_session", wrapped.SessionUID)
assert.Equal(t, "1234321", wrapped.UUID)
assert.NotEmpty(t, wrapped.UUID)
assert.Equal(t, "2016-02-27T00:00:00+01:00", wrapped.Timestamp.Format(time.RFC3339))
assert.Equal(t, int64(0), wrapped.SequenceNumber)
again, ok := GetIfIs{{.Name}}(wrapped)
Expand Down

0 comments on commit 3ce8bde

Please sign in to comment.