Skip to content

미비된 Unit Test, UI Test 추가 / Mocking 데이터 수정 #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"id": 1,
"title": "만든 사람들",
"body": "편행을 함께 만든 사람들을 소개합니다.\r\n\r\n기획/디자인\r\n- 박상훈, 홍승현\r\n\r\n개발\r\n- 홍승현과 아이들\r\n\r\n다국어 지원\r\n- 영어\r\n- 일본어",
"date": "2024-03-20T01:07:55Z"
"content": "편행을 함께 만든 사람들을 소개합니다.\r\n\r\n기획/디자인\r\n- 박상훈, 홍승현\r\n\r\n개발\r\n- 홍승현과 아이들\r\n\r\n다국어 지원\r\n- 영어\r\n- 일본어",
"createdAt": "2024-03-20T01:07:55Z"
}
273 changes: 131 additions & 142 deletions APIService/Sources/HomeAPISupport/Mocks/HomeProductResponse.json
Original file line number Diff line number Diff line change
@@ -1,206 +1,195 @@
{
"count": 20,
"has_more": false,
"count": 1633,
"hasMore": true,
"results": [
{
"name": "미성)콴타브레이크",
"img": "https://image.woodongs.com/imgsvr/item/GD_6291003632815_001.jpg",
"price": 800,
"id": 135280,
"name": "코카)코카콜라제로500ml",
"price": 2300,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "SEVEN_ELEVEN",
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://www.7-eleven.co.kr/upload/product/8801094/082604.1.jpg"
},
{
"id": 140045,
"name": "PPG화이트초코",
"price": 1800,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81337
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8809399462800_001.jpg"
},
{
"name": "녹차녹차돌자반55G",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809186873710_001.jpg",
"price": 3300,
"id": 140046,
"name": "콩두부부침210G",
"price": 4000,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81338
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8801114111154_155.jpg"
},
{
"name": "파래파래돌자반55G",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809186873703_001.jpg",
"price": 3300,
"id": 140047,
"name": "콩두부찌개210G",
"price": 4000,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81339
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8801114111161_163.jpg"
},
{
"name": "CJ)워터젤리복숭아130G",
"img": "https://image.woodongs.com/imgsvr/item/GD_8801007038032_035.jpg",
"price": 1900,
"id": 140048,
"name": "좋은울날대4P",
"price": 2800,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81340
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8801166094054_001.jpg"
},
{
"name": "CJ)워터젤리오렌지130G",
"img": "https://image.woodongs.com/imgsvr/item/GD_8801007026275_278.jpg",
"price": 1900,
"id": 140049,
"name": "네)물티슈80P캡",
"price": 5500,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81341
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8809848531903_001.jpg"
},
{
"name": "CJ)워터젤리포도130G",
"img": "https://image.woodongs.com/imgsvr/item/GD_8801007067285_002.jpg",
"price": 1900,
"id": 140050,
"name": "치즈아몬드볼",
"price": 2500,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81342
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8809318029534_003.jpg"
},
{
"name": "안동간고등어100G(순살/냉동)",
"img": "None",
"price": 5000,
"id": 140051,
"name": "까눌레젤리40G",
"price": 3000,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81343
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_4902750385108_002.jpg"
},
{
"name": "노가리먹태1입",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809677723586_002.jpg",
"price": 6900,
"id": 140052,
"name": "아삭한샐러드",
"price": 2900,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81344
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_2800100227547_002.jpg"
},
{
"name": "먹태랑오징어30G",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809193858434_002.jpg",
"price": 6900,
"id": 140053,
"name": "와일드샐러드",
"price": 2900,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81345
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_2800100227554_002.jpg"
},
{
"name": "먹태를찍먹30G",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809193858250_004.jpg",
"price": 6900,
"id": 140054,
"name": "칼집찰현미500G",
"price": 4500,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81346
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8804246034339_002.jpg"
},
{
"name": "복태구이(40G/1미)",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809465730147_001.jpg",
"price": 8500,
"id": 140055,
"name": "칼집현미500G",
"price": 4500,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81347
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8804246034322_002.jpg"
},
{
"name": "미닛메이드)레몬에이드제로350ML",
"img": "https://image.woodongs.com/imgsvr/item/GD_8801094326203_001.jpg",
"price": 1900,
"id": 140056,
"name": "녹차돌자반55G",
"price": 3900,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81348
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8809186873710_001.jpg"
},
{
"name": "현대)미에로화이바스파클링제로",
"img": "https://image.woodongs.com/imgsvr/item/GD_8806004000587_002.jpg",
"price": 2200,
"id": 140057,
"name": "파래돌자반55G",
"price": 3900,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81349
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8809186873703_001.jpg"
},
{
"name": "빙그레)닥터캡슐베리믹스130ML",
"img": "https://image.woodongs.com/imgsvr/item/GD_8801104669283_001.jpg",
"price": 2200,
"id": 140058,
"name": "오렌지소다600",
"price": 2100,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81350
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8806002023397_002.jpg"
},
{
"name": "빙그레)닥터캡슐복분자130ML",
"img": "None",
"price": 2200,
"id": 140059,
"name": "자두자몽소다",
"price": 2100,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81351
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8806002023410_002.jpg"
},
{
"name": "빙그레)닥터캡슐사과130ML",
"img": "https://image.woodongs.com/imgsvr/item/GD_8801104665421_001.jpg",
"price": 2200,
"id": 140060,
"name": "간고등어(순살)",
"price": 5000,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81352
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": null
},
{
"name": "빙그레)닥터캡슐프로텍트130ML",
"img": "https://image.woodongs.com/imgsvr/item/GD_8801104302739_004.jpg",
"price": 2200,
"id": 140061,
"name": "노가리먹태1입",
"price": 6900,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81353
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8809677723586_002.jpg"
},
{
"name": "Y(P)명품갈비탕600G(냉장)",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809396242689_001.JPG",
"price": 15900,
"id": 140062,
"name": "미니붕어빵(팥)",
"price": 600,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81354
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_2800100228940_001.jpg"
},
{
"name": "Y(P)명품염소전골500G(냉장)",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809396242733_001.jpg",
"price": 15900,
"id": 140063,
"name": "먹태랑오징어",
"price": 7900,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81355
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8809193858434_002.jpg"
},
{
"name": "꿀에빠진도라지말랭이15G",
"img": "https://image.woodongs.com/imgsvr/item/GD_8809742173049_001.jpg",
"price": 2500,
"id": 140064,
"name": "먹태를찍먹30G",
"price": 7900,
"promotion": "BUY_ONE_GET_ONE_FREE",
"store": "GS25",
"tag": "1+1",
"proinfo": 0,
"date": "2024-02-01T00:00:00Z",
"id": 81356
"eventDate": "2024-05-01T00:00:00Z",
"imageUrl": "https://image.woodongs.com/imgsvr/item/GD_8809193858250_004.jpg"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": 1,
"title": "test test",
"body": "안녕하세요 편행팀입니다~\n새로워진 2024년을 맞아 편행이 새단장으로 여러분을 찾아왔습니다. 앞으로도 우리 자주 만나요!\n\n[업데이트 정보]\n- 새로운 버전(v.2.0.0)으로 리뉴얼 되었습니다.\n- 새로워진 편행 2.0에서 더욱 더 합리적인 소비 생활 되세요!\n- 앱 디자인 및 전반적인 UX를 개선해서 사용하기 편하게 했어요!\n- 합리적인 소비를 도와드리고자 행사 상품 가격의 변동 정보를 그래프로 보여드려요!\n\n- 기타 자잘한 버그들을 수정했습니다.\n- 단말 안정화 적용\n- 화면 및 네트워크 최적화\n\n- 2023년 3월 편의점 행사정보가 업데이트 되었습니다.\n\n[새로운 기능]\n- 지도 기능이 추가되었습니다.\n- 카테고리가 추가되었습니다.\n\n[주의사항]\n- 본 어플리케이션에서 표시된 정보는 실제 행사정보와 차이가 있을수 있습니다.\n- 행사는 편의점 브랜드 및 재고상태에 따라 다르게 적용될 수 있습니다.",
"date": "2024-02-25T19:41:11Z",
"id": 1
"content": "안녕하세요 편행팀입니다~\n새로워진 2024년을 맞아 편행이 새단장으로 여러분을 찾아왔습니다. 앞으로도 우리 자주 만나요!\n\n[업데이트 정보]\n- 새로운 버전(v.2.0.0)으로 리뉴얼 되었습니다.\n- 새로워진 편행 2.0에서 더욱 더 합리적인 소비 생활 되세요!\n- 앱 디자인 및 전반적인 UX를 개선해서 사용하기 편하게 했어요!\n- 합리적인 소비를 도와드리고자 행사 상품 가격의 변동 정보를 그래프로 보여드려요!\n\n- 기타 자잘한 버그들을 수정했습니다.\n- 단말 안정화 적용\n- 화면 및 네트워크 최적화\n\n- 2023년 3월 편의점 행사정보가 업데이트 되었습니다.\n\n[새로운 기능]\n- 지도 기능이 추가되었습니다.\n- 카테고리가 추가되었습니다.\n\n[주의사항]\n- 본 어플리케이션에서 표시된 정보는 실제 행사정보와 차이가 있을수 있습니다.\n- 행사는 편의점 브랜드 및 재고상태에 따라 다르게 적용될 수 있습니다.",
"createdAt": "2024-02-25T19:41:11Z"
}
20 changes: 10 additions & 10 deletions APIService/Sources/NoticeAPISupport/Mocks/NoticeListResponse.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"count": 2,
"has_more": false,
"count": 1,
"hasMore": false,
"results": [
{
"title": "test test",
"body": null,
"date": "2024-02-25T19:41:11Z",
"id": 1
"id": 2,
"title": "test title",
"content": "test content",
"createdAt": "2024-05-02T13:23:02Z"
},
{
"title": "테스트 제목",
"body": null,
"date": "2024-02-26T20:35:48Z",
"id": 2
"id": 1,
"title": "test title",
"content": "test content",
"createdAt": "2024-05-02T13:23:02Z"
}
]
}
Loading
Loading