Skip to content

Commit

Permalink
test: 북마크 취소 e2e 테스트의 호스트를 nalab-server로 변경한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed Mar 6, 2024
1 parent 8ba484d commit b9c9e1a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions support/e2e/v1_11_cancel_bookmark_survey.hurl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
POST http://localhost:8080/v1/oauth/default # Default provider를 통해서 로그인 진행
POST http://nalab-server:8080/v1/oauth/default # Default provider를 통해서 로그인 진행
{
"nickname": "cancel_bookmark_survey",
"email": "cancel_bookmark_survey@123456"
Expand All @@ -17,7 +17,7 @@ auth_token: jsonpath "$.access_token"

##########

POST http://localhost:8080/v1/surveys # 발급받은 토큰으로 survey를 생성한다.
POST http://nalab-server:8080/v1/surveys # 발급받은 토큰으로 survey를 생성한다.
Authorization: {{ token_type }} {{ auth_token }}
{
"question_count": 2,
Expand Down Expand Up @@ -63,7 +63,7 @@ survey_id: jsonpath "$.survey_id"

##########

GET http://localhost:8080/v1/surveys/{{ survey_id }} # 생성된 survey를 조회한다.
GET http://nalab-server:8080/v1/surveys/{{ survey_id }} # 생성된 survey를 조회한다.

HTTP 200
[Asserts]
Expand Down Expand Up @@ -101,7 +101,7 @@ target_id: jsonpath "$.target.id"

##########

POST http://localhost:8080/v1/surveys/{{ survey_id }}/bookmarks
POST http://nalab-server:8080/v1/surveys/{{ survey_id }}/bookmarks
Authorization: {{ token_type }} {{ auth_token }}

HTTP 200
Expand All @@ -114,7 +114,7 @@ jsonpath "$.nickname" == "cancel_bookmark_survey"

##########

POST http://localhost:8080/v1/surveys/{{ survey_id }}/bookmarks/cancels
POST http://nalab-server:8080/v1/surveys/{{ survey_id }}/bookmarks/cancels
Authorization: {{ token_type }} {{ auth_token }}

HTTP 200
Expand Down

0 comments on commit b9c9e1a

Please sign in to comment.