-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix/BE] DatabaseCleanup SQL 생성 방식 변경 (#687)
* [BE] 스프린트5에 대한 버퍼를 진행한다 (#678) * [BE] 스프린트5에 대한 버퍼를 진행한다 (#677) * refactor: 팔로잉된 회원의 아이디를 목록으로 가져올 때 조인하지 않도록 변경 * refactor: 회원을 조회할 때 검색된 결과가 없다면, 다음 로직이 일어나지 않도록 변경 * refactor: findByContains 메서드 명 변경 * test: MemberServiceTest 한글 메서드 명 변경 * [BE] DatabaseCleanup sql 생성 방식 변경 (#685) test: DatabaseCleanup sql 생성 방식 변경
- Loading branch information
1 parent
3a2b5ba
commit e3783b7
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
backend/src/test/java/com/woowacourse/f12/acceptance/support/EscapeSqlUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.woowacourse.f12.acceptance.support; | ||
|
||
public class EscapeSqlUtil { | ||
|
||
public static String escapeTableName(String tableName) { | ||
if (tableName == null) { | ||
return null; | ||
} | ||
return tableName.replace(" ", "") | ||
.replace(";", ""); | ||
} | ||
} |