Skip to content

Commit

Permalink
Fix cypress delete users endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorreem committed Sep 28, 2023
1 parent b75968d commit 1d29750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export class UserService {
const queryResult = await this.userRepository
.createQueryBuilder('user')
.select()
.where('user.name ILIKE :searchTerm', { searchTerm: `Cypress test` })
.where('user.name LIKE :searchTerm', { searchTerm: `%Cypress test user%` })
.getMany();

const deletedUsers = await Promise.all(
Expand Down

0 comments on commit 1d29750

Please sign in to comment.