Skip to content

Commit

Permalink
fix: tests variables
Browse files Browse the repository at this point in the history
  • Loading branch information
fcbento committed Dec 17, 2024
1 parent c0679bb commit ed21fb3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/services/orgs/tests/register-org-service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let sut: RegisterOrgService

const request = {
name: 'Test Org',
cep: 8560250,
cep: '8560250',
email: '[email protected]',
password: '123456',
whatsapp: '985672298'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { InMemoryPetPhotosRepository } from "@/repositories/photos/in-memory-pet-photos-repository"
import { describe, expect, it } from "vitest"
import { RegisterPetPhotoService } from "../register-pet-photos-service"
import { GetPetPhotosService } from "../get-pet-photos-service"

let petsRepository: InMemoryPetPhotosRepository
Expand Down
3 changes: 2 additions & 1 deletion src/services/pets/tests/list-pets-service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { InMemoryPetsRepository } from "@/repositories/pets/in-memory-pets-repos
import { beforeEach, describe, expect, it } from "vitest";
import { ListPetService } from "../list-pets-service";
import { RegisterPetService } from "../pets-service";
import { PetsRepository } from "@/repositories/pets/prisma-pets-repository";

let petsRepository: InMemoryPetsRepository
let petsRepository: PetsRepository
let sut: ListPetService
let sutRegister: RegisterPetService

Expand Down
3 changes: 2 additions & 1 deletion src/services/pets/tests/pets-service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { InMemoryPetsRepository } from "@/repositories/pets/in-memory-pets-repository"
import { describe, beforeEach, it, expect } from "vitest"
import { RegisterPetService } from "../pets-service"
import { PetsRepository } from "@/repositories/pets/prisma-pets-repository"

let petsRepository: InMemoryPetsRepository
let petsRepository: PetsRepository
let sut: RegisterPetService

describe('Register pet service', () => {
Expand Down

0 comments on commit ed21fb3

Please sign in to comment.