Skip to content

Commit

Permalink
Fixed broken response stubbing in PerformanceTests
Browse files Browse the repository at this point in the history
Fixes #231
  • Loading branch information
pcantrell committed Nov 12, 2017
1 parent 5e78fce commit a5a3cc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/PerformanceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class SiestaPerformanceTests: XCTestCase
var responsesPending = reps
for _ in 0 ..< reps
{
resource.load().onCompletion
resource.load().onSuccess
{
_ in
responsesPending -= 1
Expand Down Expand Up @@ -228,7 +228,7 @@ class SiestaPerformanceTests: XCTestCase
}
}

struct NetworkStub: NetworkingProvider
class NetworkStub: NetworkingProvider
{
var responses: [String:ResponseStub] = [:]
let dummyHeaders =
Expand Down

0 comments on commit a5a3cc6

Please sign in to comment.