Skip to content

Commit

Permalink
test: 관심 상품 테스트 URL 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
cyPark95 committed Jan 18, 2024
1 parent 2f40c30 commit 480e334
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import site.goldenticket.common.config.ApiTest;
import site.goldenticket.domain.product.model.Product;
import site.goldenticket.domain.product.repository.ProductRepository;
import site.goldenticket.domain.user.wish.dto.WishProductSaveRequest;
import site.goldenticket.domain.user.wish.entity.WishProduct;
import site.goldenticket.domain.user.wish.repository.WishProductRepository;
import site.goldenticket.domain.product.wish.dto.WishProductSaveRequest;
import site.goldenticket.domain.product.wish.entity.WishProduct;
import site.goldenticket.domain.product.wish.repository.WishProductRepository;

import java.util.stream.IntStream;

Expand All @@ -39,7 +39,7 @@ void getWishProducts() {
saveWishProduct(product);
});

String url = "/users/wishes/product";
String url = "/products/wish";

// when
ExtractableResponse<Response> result = RestAssured
Expand All @@ -61,7 +61,7 @@ void registerWishProduct() {
Product product = saveProduct();

WishProductSaveRequest request = new WishProductSaveRequest(product.getId());
String url = "/users/wishes/product";
String url = "/products/wish";

// when
ExtractableResponse<Response> result = RestAssured
Expand All @@ -86,7 +86,7 @@ void deleteWishProduct() {
Product product = saveProduct();
WishProduct wishProduct = saveWishProduct(product);

String url = "/users/wishes/product/" + wishProduct.getId();
String url = "/products/wish/" + wishProduct.getId();

// when
ExtractableResponse<Response> result = RestAssured
Expand Down

0 comments on commit 480e334

Please sign in to comment.