Skip to content

Commit

Permalink
SPT-1998 fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mrandrewsmith committed May 24, 2024
1 parent c114116 commit a9b9219
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions NodeKit/NodeKit/CacheNode/URLCacheReaderNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ public enum BaseURLCacheReaderError: Error {
/// Сам по себе узел является листом и не может быть встроен в сквозную цепочку.
open class URLCacheReaderNode: AsyncNode {

public var needsToThrowError: Bool

public init(needsToThrowError: Bool) {
self.needsToThrowError = needsToThrowError
}

/// Посылает запрос в кэш и пытается сериализовать данные в JSON.
open func process(
_ data: URLNetworkRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class CacheReaderNodeTests: XCTestCase {
override func setUp() {
super.setUp()
logContextMock = LoggingContextMock()
sut = URLCacheReaderNode(needsToThrowError: true)
sut = URLCacheReaderNode()
}

override func tearDown() {
Expand Down

0 comments on commit a9b9219

Please sign in to comment.