Skip to content

Commit

Permalink
DispatcherMock connected by default
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Sep 15, 2022
1 parent 22e3832 commit 5dde7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/RelayerTests/Mocks/DispatcherMock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Combine

class DispatcherMock: Dispatching {
private var publishers = Set<AnyCancellable>()
private let socketConnectionStatusPublisherSubject = CurrentValueSubject<SocketConnectionStatus, Never>(.disconnected)
private let socketConnectionStatusPublisherSubject = CurrentValueSubject<SocketConnectionStatus, Never>(.connected)
var socketConnectionStatusPublisher: AnyPublisher<SocketConnectionStatus, Never> {
return socketConnectionStatusPublisherSubject.eraseToAnyPublisher()
}
Expand Down

0 comments on commit 5dde7ad

Please sign in to comment.