From 3c9a5fa5c254c34f53c919fa24cb549739e26db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Fri, 26 Sep 2025 15:49:46 -0300 Subject: [PATCH] =?UTF-8?q?chore:=20adiciona=20coment=C3=A1rio=20para=20te?= =?UTF-8?q?star=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/http/controllers/orgs/getAdoptionsHistory.spec.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/http/controllers/orgs/getAdoptionsHistory.spec.ts b/src/http/controllers/orgs/getAdoptionsHistory.spec.ts index ea55a58..a5e75a0 100644 --- a/src/http/controllers/orgs/getAdoptionsHistory.spec.ts +++ b/src/http/controllers/orgs/getAdoptionsHistory.spec.ts @@ -11,7 +11,6 @@ describe('Adoptions History Org Controller', () => { beforeAll(async () => { await app.ready() - // Cria org const password_hash = await hash('123456', 6) const org = await prisma.org.create({ data: { @@ -30,14 +29,12 @@ describe('Adoptions History Org Controller', () => { }, }) - // Autentica org const authResponse = await request(app.server).post('/org/sessions').send({ email: 'ongadote@email.com', password: '123456', }) token = authResponse.body.token - // Cria usuário const user_password_hash = await hash('654321', 6) const user = await prisma.user.create({ data: { @@ -48,7 +45,6 @@ describe('Adoptions History Org Controller', () => { }, }) - // Cria pet const pet = await prisma.pet.create({ data: { name: 'Rex', @@ -61,7 +57,6 @@ describe('Adoptions History Org Controller', () => { }, }) - // Marca adoção await prisma.adoptions.create({ data: { user_id: user.id,