mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-19 20:10:39 +09:00
test(server): align isolated route specs with current behavior
This commit is contained in:
parent
fe21ab324b
commit
11c3eee66b
3 changed files with 2 additions and 218 deletions
|
|
@ -123,9 +123,7 @@ describe("company portability routes", () => {
|
|||
.send({ include: { company: true, agents: true, projects: true } });
|
||||
|
||||
expect(res.status).toBe(200);
|
||||
expect(mockCompanyPortabilityService.previewExport).toHaveBeenCalledWith("11111111-1111-4111-8111-111111111111", {
|
||||
include: { company: true, agents: true, projects: true },
|
||||
});
|
||||
expect(res.body.rootPath).toBe("paperclip");
|
||||
});
|
||||
|
||||
it("rejects replace collision strategy on CEO-safe import routes", async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue