Skip to content

Commit

Permalink
fix: unit tests broken due to message type changes (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminSchwendner authored and EmperorRXF committed Nov 26, 2024
1 parent f1d882d commit 7baece5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ describe('ImageSucceededHandler', () => {
// Arrange
const payload: EnsureImageExistsImageCreatedEvent = {
image_id: '11e1d903-49ed-4d70-8b24-90d0824741d0',
image_location: 'test',
};
const metadata = {
ingestItemStepId: step1.id,
Expand Down Expand Up @@ -150,6 +151,7 @@ describe('ImageSucceededHandler', () => {
// Arrange
const payload: EnsureImageExistsImageCreatedEvent = {
image_id: '11e1d903-49ed-4d70-8b24-90d0824741d0',
image_location: 'test',
};
const context = {
ingestItemStepId: step1.id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ describe('VideoSucceededHandler', () => {
const payload: EnsureVideoExistsCreationStartedEvent = {
video_id: '6804e7ff-8bed-42b2-85bf-c1ca5b59c417',
encoding_state: 'IN_PROGRESS',
video_location: 'test',
};
const context = {
ingestItemStepId: step1.id,
Expand Down Expand Up @@ -155,6 +156,7 @@ describe('VideoSucceededHandler', () => {
const payload: EnsureVideoExistsCreationStartedEvent = {
video_id: '6804e7ff-8bed-42b2-85bf-c1ca5b59c417',
encoding_state: 'IN_PROGRESS',
video_location: 'test',
};
const context = {
ingestItemStepId: step1.id,
Expand Down

0 comments on commit 7baece5

Please sign in to comment.