Skip to content

Commit

Permalink
✅ added test for check whether the createUser function in createUserP…
Browse files Browse the repository at this point in the history
…rovider was called
  • Loading branch information
ejim11 committed Jan 19, 2025
1 parent 85725ee commit daae34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/users/providers/users.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable, RequestTimeoutException } from '@nestjs/common';
import { CreaterUsersProviders } from './creater-users.providers';
import { CreateUsersProvider } from './create-users.providers';
import { CreateUserDto } from '../dtos/create-user.dto';
import { FindOneUserByEmailProvider } from './find-one-user-by-email.provider';
import { StoreOtpAndExpireProvider } from './store-otp-and-expire.provider';
Expand Down Expand Up @@ -34,7 +34,7 @@ export class UsersService {
/**
* injecting the create user provider
*/
private readonly createUserProvider: CreaterUsersProviders,
private readonly createUserProvider: CreateUsersProvider,

/**
* Injecting the findOneUserByEmailProvider
Expand Down

0 comments on commit daae34e

Please sign in to comment.