mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(API): Add user management endpoints to the Projects Public API (#12329)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in> Co-authored-by: Danny Martini <danny@n8n.io> Co-authored-by: Andreas Fitzek <andreas.fitzek@n8n.io> Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com>
This commit is contained in:
@@ -510,7 +510,7 @@ describe('PATCH /projects/:projectId', () => {
|
||||
const resp = await ownerAgent
|
||||
.patch(`/projects/${personalProject.id}`)
|
||||
.send({ name: 'New Name' });
|
||||
expect(resp.status).toBe(403);
|
||||
expect(resp.status).toBe(404);
|
||||
|
||||
const updatedProject = await findProject(personalProject.id);
|
||||
expect(updatedProject.name).not.toEqual('New Name');
|
||||
|
||||
Reference in New Issue
Block a user