Skip to content

Commit

Permalink
atualiza teste
Browse files Browse the repository at this point in the history
  • Loading branch information
MegahNevel committed Dec 9, 2024
1 parent 19047f1 commit 7db284e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/__tests__/userController.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ beforeAll(async () => {
const protectedUser = await User.create({
name: "Admin Protected",
email: "adminprotected@admin.com",
password: "senha",
phone: "4002-8933",
status: true,
isProtected: true,
Expand All @@ -54,6 +55,7 @@ beforeAll(async () => {
const deletableUser = await User.create({
name: "Jane Doe",
email: "janedoe@admin.com",
password: "senha",
phone: "4002-8933",
status: true,
isProtected: false, // Não é protegido
Expand All @@ -78,6 +80,7 @@ describe("User Controller Tests", () => {
const res = await request(app).post("/signup").send({
name: "Joane Doe",
email: "joanedoe@admin.com",
password: "senha",
phone: "4202-8933",
status: true,
});
Expand Down

0 comments on commit 7db284e

Please sign in to comment.