Skip to content

Commit

Permalink
feat : 테스트를 위해 임시파일수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhoon227 committed Feb 14, 2024
1 parent ec8d4ca commit 3c159a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions KCS/KCSUnitTest/MockRepository/MockFailStoreRepository.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ struct MockFailStoreRepository: StoreRepository {
throw StoreRepositoryError.wrongStoreId
}

// 임시 메소드
func getStoreInformation(location: Location, keyword: String) -> RxSwift.Observable<[KCS.Store]> {
return Observable<[]>
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,10 @@ struct MockSuccessStoreRepository: StoreRepository {
func getAllStores() -> [Store] {
return stores
}

// 임시 메소드
func getStoreInformation(location: Location, keyword: String) -> RxSwift.Observable<[KCS.Store]> {
return Observable<[]>
}

}

0 comments on commit 3c159a4

Please sign in to comment.