Skip to content

Commit

Permalink
Fix validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-yevsyukov committed Oct 15, 2022
1 parent f15d232 commit db6dec2
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,13 @@ private SubscriptionRecordTestEnv() {
}

public static EventEnvelope projectCreatedEnvelope(EventId eventId) {
var project = io.spine.test.event.ProjectId.newBuilder().setId(Identifier.newUuid()).build();
var eventMessage = ProjectCreated.newBuilder().setProjectId(project).build();
//TODO:2022-10-15:alexander.yevsyukov: Fix usage of the type from another package.
var project = io.spine.test.event.ProjectId.newBuilder()
.setId(Identifier.newUuid())
.build();
var eventMessage = ProjectCreated.newBuilder()
.setProjectId(project)
.build();
return projectCreatedEnvelope(eventId, eventMessage);
}

Expand Down

0 comments on commit db6dec2

Please sign in to comment.