Skip to content

Commit

Permalink
♻️ :: [#1314] Missing Sendable Conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Nov 25, 2024
1 parent 0e90c4d commit f7a92d1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import AuthDomainInterface
import RxSwift

public struct CheckIsExistAccessTokenUseCaseStub: CheckIsExistAccessTokenUseCase {
public struct CheckIsExistAccessTokenUseCaseStub: CheckIsExistAccessTokenUseCase, @unchecked Sendable {
public func execute() -> Single<Bool> {
return .just(false)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import FaqDomainInterface
import Foundation
import RxSwift

public struct FetchFaqCategoriesUseCaseStub: FetchFaqCategoriesUseCase {
public struct FetchFaqCategoriesUseCaseStub: FetchFaqCategoriesUseCase, @unchecked Sendable {
public func execute() -> Single<FaqCategoryEntity> {
return .just(FaqCategoryEntity(categories: []))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import FaqDomainInterface
import Foundation
import RxSwift

public struct FetchFaqUseCaseStub: FetchFaqUseCase {
public struct FetchFaqUseCaseStub: FetchFaqUseCase, @unchecked Sendable {
public func execute() -> Single<[FaqEntity]> {
return .just([])
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation
import NoticeDomainInterface
import RxSwift

public struct FetchNoticeAllUseCaseStub: FetchNoticeAllUseCase {
public struct FetchNoticeAllUseCaseStub: FetchNoticeAllUseCase, @unchecked Sendable {
public func execute() -> Single<[FetchNoticeEntity]> {
let title1 = "공지사항 두줄인 경우 공지사항 두줄인 경우 공지사항 두줄인 경우 공지사항 두줄인 경우"
let title2 = "왁타버스 뮤직 2.0 업데이트"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation
import NoticeDomainInterface
import RxSwift

public struct FetchNoticeCategoriesUseCaseStub: FetchNoticeCategoriesUseCase {
public struct FetchNoticeCategoriesUseCaseStub: FetchNoticeCategoriesUseCase @unchecked Sendable {

Check failure on line 5 in Projects/Domains/NoticeDomain/Testing/FetchNoticeCategoriesUseCaseStub.swift

View workflow job for this annotation

GitHub Actions / 🧪 Test

expected '{' in struct

Check failure on line 5 in Projects/Domains/NoticeDomain/Testing/FetchNoticeCategoriesUseCaseStub.swift

View workflow job for this annotation

GitHub Actions / 🧪 Test

type 'FetchNoticeCategoriesUseCaseStub' does not conform to protocol 'FetchNoticeCategoriesUseCase'
public func execute() -> Single<FetchNoticeCategoriesEntity> {
return .just(FetchNoticeCategoriesEntity(categories: []))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation
import RxSwift
import UserDomainInterface

public struct FetchFavoriteSongsUseCaseStub: FetchFavoriteSongsUseCase {
public struct FetchFavoriteSongsUseCaseStub: FetchFavoriteSongsUseCase, @unchecked Sendable {
let items: [FavoriteSongEntity] = [
.init(
songID: "fgSXAKsq-Vo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation
import RxSwift
import UserDomainInterface

public struct FetchPlaylistUseCaseStub: FetchPlaylistUseCase {
public struct FetchPlaylistUseCaseStub: FetchPlaylistUseCase, @unchecked Sendable {
let items: [PlaylistEntity] = [
.init(
key: "123",
Expand Down

0 comments on commit f7a92d1

Please sign in to comment.