Skip to content

Commit

Permalink
r2m (#91)
Browse files Browse the repository at this point in the history
* v0.1.8-Release (#82)

* [etc] logger 추가 및 Exception logging 추가 (#71)

* [etc] CODEOWNERS 수정 (#72)

* Spring boot version 3.1.2 -> 3.1.6 (#73)

* [refactor]cursor 기반 page 타입 변경 (#74)

* [refactor] Swagger UI 라이브러리 변경: Spring REST docs -> Springdoc (#75)

* Swagger UI 라이브러리 변경 - Spring REST docs -> Springdoc

* 컨트롤러 인터페이스 분리

* Update src/main/resources/static/swagger-ui/openapi3.yaml

Co-authored-by: 유도진 <[email protected]>

* build.gradle 의존성 제거

* 인터페이스 이름 변경: ApiPresentation 추가

* 커버리지 체크 제외할 리스트 수정

* postfix 수정

* postfix 수정

* postfix 수정

* postfix 수정

* postfix수정

* REST doc 관련 의존성 및 파일 삭제

* 변경 사항 반영

* 리뷰 반영해서 수정

* 초깃값 동작 체크

---------

Co-authored-by: 유도진 <[email protected]>

* [etc] version 수정 (#77)

* [etc] storeId → cursor 수정 (#79)

* [etc] version 수정 (#80)

---------

Co-authored-by: 유도진 <[email protected]>
Co-authored-by: YOON <[email protected]>
Co-authored-by: Gopistol <[email protected]>

* V0.1.9 (#86)

* [etc] logger 추가 및 Exception logging 추가 (#71)

* [etc] CODEOWNERS 수정 (#72)

* Spring boot version 3.1.2 -> 3.1.6 (#73)

* [refactor]cursor 기반 page 타입 변경 (#74)

* [refactor] Swagger UI 라이브러리 변경: Spring REST docs -> Springdoc (#75)

* Swagger UI 라이브러리 변경 - Spring REST docs -> Springdoc

* 컨트롤러 인터페이스 분리

* Update src/main/resources/static/swagger-ui/openapi3.yaml

Co-authored-by: 유도진 <[email protected]>

* build.gradle 의존성 제거

* 인터페이스 이름 변경: ApiPresentation 추가

* 커버리지 체크 제외할 리스트 수정

* postfix 수정

* postfix 수정

* postfix 수정

* postfix 수정

* postfix수정

* REST doc 관련 의존성 및 파일 삭제

* 변경 사항 반영

* 리뷰 반영해서 수정

* 초깃값 동작 체크

---------

Co-authored-by: 유도진 <[email protected]>

* [etc] version 수정 (#77)

* [etc] storeId → cursor 수정 (#79)

* [etc] version 수정 (#80)

* swagger 수정 (#83)

* [fix] redis 분리 및 api 추가 (#85)

---------

Co-authored-by: Bokyeom <[email protected]>
Co-authored-by: YOON <[email protected]>
Co-authored-by: Gopistol <[email protected]>
Co-authored-by: k-kbk <[email protected]>

---------

Co-authored-by: Bokyeom <[email protected]>
Co-authored-by: YOON <[email protected]>
Co-authored-by: Gopistol <[email protected]>
Co-authored-by: k-kbk <[email protected]>
  • Loading branch information
5 people authored Mar 3, 2024
1 parent 40aeda5 commit dc1d726
Showing 1 changed file with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ class StoreQueryServiceDataTest : AbstractDataTest() {
// given
val pageSize = 2
val latestId = IntStream.range(0, pageSize * 2).mapToLong {
repository.save(Store(name = "validName$it", address = StoreMother.ADDRESS)).id
repository.save(
Store(
name = "validName$it",
address = StoreMother.ADDRESS
)
).id
}.max().asLong

// when
Expand All @@ -89,7 +94,12 @@ class StoreQueryServiceDataTest : AbstractDataTest() {
// given
val pageSize = Store.MAX_NAME_LENGTH - 1
repeat(Store.MAX_NAME_LENGTH) {
repository.save(Store(name = "x".repeat(it + 1), address = StoreMother.ADDRESS))
repository.save(
Store(
name = "x".repeat(it + 1),
address = StoreMother.ADDRESS
)
)
}

// when
Expand Down Expand Up @@ -142,7 +152,10 @@ class StoreQueryServiceDataTest : AbstractDataTest() {
}.max().asLong

// when
val result = storeQueryService.findAllByCategoryAndCursor(categoryId = category.id, size = pageSize)
val result = storeQueryService.findAllByCategoryAndCursor(
categoryId = category.id,
size = pageSize
)

// then
assertThat(result).anyMatch { it.id == latestId }
Expand Down

0 comments on commit dc1d726

Please sign in to comment.