@@ -99,7 +99,7 @@ public async Task Run_FileValidNoTransformersExist_ErrorLoggedAndStatusUpdated()
9999 _blobStoreMock . Verify ( x => x . DownloadAsync ( file ) , Times . Never ) ;
100100 _fileTransformQueueClientMock . Verify ( q => q . SendToPoisonQueueAsync ( message ) , Times . Once ) ;
101101
102- AssertFileUpdated ( file . FileId , MeshFileStatus . FailedTransform ) ;
102+ AssertFileUpdated ( file . FileId , MeshFileStatus . FailedTransform , FileEventSource . TransformFunction ) ;
103103 }
104104
105105 [ Fact ]
@@ -125,7 +125,7 @@ public async Task Run_FileValidMultipleTransformersExist_ErrorLoggedAndStatusUpd
125125 _blobStoreMock . Verify ( x => x . DownloadAsync ( file ) , Times . Never ) ;
126126 _fileTransformQueueClientMock . Verify ( q => q . SendToPoisonQueueAsync ( message ) , Times . Once ) ;
127127
128- AssertFileUpdated ( file . FileId , MeshFileStatus . FailedTransform ) ;
128+ AssertFileUpdated ( file . FileId , MeshFileStatus . FailedTransform , FileEventSource . TransformFunction ) ;
129129 }
130130
131131 [ Fact ]
@@ -159,7 +159,7 @@ public async Task Run_FileHasValidationErrors_ErrorLoggedAndStatusAndValidationE
159159 _blobStoreMock . Verify ( x => x . DownloadAsync ( file ) , Times . Once ) ;
160160 _fileTransformQueueClientMock . Verify ( q => q . SendToPoisonQueueAsync ( message ) , Times . Once ) ;
161161
162- var updatedFile = AssertFileUpdated ( file . FileId , MeshFileStatus . FailedTransform ) ;
162+ var updatedFile = AssertFileUpdated ( file . FileId , MeshFileStatus . FailedTransform , FileEventSource . TransformFunction ) ;
163163 var savedValidationErrors = DeserializeValidationErrorsFromMeshFile ( updatedFile ) ;
164164 Assert . Equal ( validationErrors , savedValidationErrors , new ValidationErrorComparer ( ) ) ;
165165 }
@@ -187,7 +187,7 @@ public async Task Run_FileValid_FileTransformedAndStatusUpdated(MeshFileStatus v
187187 LoggerMock . VerifyNoLogs ( LogLevel . Warning ) ;
188188 _blobStoreMock . Verify ( x => x . DownloadAsync ( file ) , Times . Once ) ;
189189 _fileTransformerMock . Verify ( x => x . TransformFileAsync ( expectedStream , file ) , Times . Once ) ;
190- AssertFileUpdated ( file . FileId , MeshFileStatus . Transformed ) ;
190+ AssertFileUpdated ( file . FileId , MeshFileStatus . Transformed , FileEventSource . TransformFunction ) ;
191191 }
192192
193193 private static readonly JsonSerializerOptions ValidationErrorJsonOptions = new ( )
0 commit comments