mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-01 18:07:00 +01:00
test(dot): preserve creator attribution during import
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
80e3534cf6
commit
64bf242115
1 file changed
+1
-1
@@ -6050,7 +6050,7 @@ describe("company portability", () => {
|
||||
.rejects.toMatchObject({ status: 422, details: { code: "paperclip_runner_rollout_disabled" } });
|
||||
expect(agentSvc.create).not.toHaveBeenCalled();
|
||||
await portability.importBundle(input, "user-1");
|
||||
expect(agentSvc.create).toHaveBeenCalledWith("company-1", expect.objectContaining({ adapterType: "paperclip_runner", adapterConfig: expect.objectContaining({ provider: "openai_dot", allowUnmeteredProvider: true }) }));
|
||||
expect(agentSvc.create).toHaveBeenCalledWith("company-1", expect.objectContaining({ adapterType: "paperclip_runner", adapterConfig: expect.objectContaining({ provider: "openai_dot", allowUnmeteredProvider: true }) }), { createdByUserId: "user-1" });
|
||||
const createdConfig = agentSvc.create.mock.calls[0]![1].adapterConfig;
|
||||
expect(createdConfig.dotBindingId).toBeUndefined();
|
||||
const { resolvePaperclipRunnerProviderProfile } = await import("../services/native-runtime/provider-profile.js");
|
||||
|
||||
Reference in new issue
Block a user