mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 19:20:39 +09:00
test: fix post-sync verification regressions
This commit is contained in:
parent
2a33acce3a
commit
616a2bc8f9
5 changed files with 24 additions and 5 deletions
|
|
@ -17,6 +17,7 @@ const accessSvc = {
|
|||
ensureMembership: vi.fn(),
|
||||
listActiveUserMemberships: vi.fn(),
|
||||
copyActiveUserMemberships: vi.fn(),
|
||||
setPrincipalPermission: vi.fn(),
|
||||
};
|
||||
|
||||
const projectSvc = {
|
||||
|
|
@ -258,6 +259,7 @@ describe("company portability", () => {
|
|||
assetSvc.getById.mockReset();
|
||||
assetSvc.getById.mockResolvedValue(null);
|
||||
assetSvc.create.mockReset();
|
||||
accessSvc.setPrincipalPermission.mockResolvedValue(undefined);
|
||||
assetSvc.create.mockResolvedValue({
|
||||
id: "asset-created",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue