Skip to content

Commit

Permalink
Update test to use the SubjectTransforms array in StreamSource
Browse files Browse the repository at this point in the history
  • Loading branch information
jnmoyne authored and piotrpio committed Sep 20, 2023
1 parent 06bbf5f commit bee172d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ func TestJetStreamTransform(t *testing.T) {
_, err = js.AddStream(&StreamConfig{
Subjects: []string{},
Name: "SOURCING",
Sources: []*StreamSource{{Name: "ORIGIN", SubjectTransformDest: "fromtest.>"}},
Sources: []*StreamSource{{Name: "ORIGIN", SubjectTransforms: []SubjectTransformConfig{{Source: ">", Destination: "fromtest.>"}}}},
Storage: MemoryStorage,
})
if err != nil {
Expand Down

0 comments on commit bee172d

Please sign in to comment.