Skip to content

Commit

Permalink
Clarify convey steps
Browse files Browse the repository at this point in the history
  • Loading branch information
lindenmckenzie committed Dec 4, 2024
1 parent cb41b82 commit cdf69d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handler/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func TestHandle(t *testing.T) {
So(zebedeeMock.GetPublishedDataCalls()[0].UriString, ShouldEqual, testZebedeeEvent.URI)
})

Convey("Then the expected event search data import event is produced", func() {
Convey("Then the expected search data import event is produced", func() {
So(producerMock.SendCalls(), ShouldHaveLength, 1)
So(producerMock.SendCalls()[0].Schema, ShouldEqual, schema.SearchDataImportEvent)
So(producerMock.SendCalls()[0].Event, ShouldResemble, expectedZebedeeProducedEvent)
Expand Down Expand Up @@ -211,7 +211,7 @@ func TestHandle(t *testing.T) {
So(datasetMock.GetVersionMetadataCalls()[0].Version, ShouldEqual, "version")
})

Convey("Then the expected event search data import event is producer", func() {
Convey("Then the expected search data import event is producer", func() {
So(producerMock.SendCalls(), ShouldHaveLength, 1)
So(producerMock.SendCalls()[0].Schema, ShouldEqual, schema.SearchDataImportEvent)
So(producerMock.SendCalls()[0].Event, ShouldResemble, expectedDatasetProducedEvent)
Expand Down

0 comments on commit cdf69d9

Please sign in to comment.