Compare commits

...

1 Commits

Author SHA1 Message Date
Jedd Morgan 4bcc0d83a9 Use payload filename (#1214)
.NET Build and Publish / build-connectors (push) Has been cancelled
.NET Build and Publish / deploy-installers (push) Has been cancelled
2025-12-15 14:25:29 +00:00
2 changed files with 6 additions and 4 deletions
@@ -41,7 +41,12 @@ internal sealed class RhinoJobHandler(
ingestionId: ingestion.id,
projectId: job.Payload.ProjectId,
progressMessage: "Starting Up Importer",
sourceData: new(application.Slug, application.HostApplicationVersion, file.FileInfo.Name, file.FileInfo.Length)
sourceData: new(
application.Slug,
application.HostApplicationVersion,
job.Payload.FileName,
file.FileInfo.Length
)
),
cancellationToken
);
@@ -97,17 +97,14 @@ public class SendOperationTests : MoqTest
var commitObject = new TestBase();
var projectId = "projectId";
var modelId = "modelId";
var url = new Uri("https://localhost");
var token = "token";
var sourceApplication = "sourceApplication";
var account = new Account()
{
userInfo = new UserInfo() { email = "test_user@example.com" },
serverInfo = new ServerInfo() { url = url.ToString() },
token = token
};
var sendInfo = new SendInfo(account, projectId, modelId, sourceApplication);
var progress = Create<IProgress<CardProgress>>(MockBehavior.Loose);
var ct = new CancellationToken();