@@ -60,7 +60,7 @@ final class LoadCountriesTests: CountriesInteractorTests {
60
60
countries. updatesRecorder. sink { updates in
61
61
XCTAssertEqual ( updates, [
62
62
. notRequested,
63
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
63
+ . isLoading( last: nil , cancelBag: . test ) ,
64
64
. loaded( list. lazyList)
65
65
] , removing: Country . prefixes)
66
66
self . mockedWebRepo. verify ( )
@@ -93,7 +93,7 @@ final class LoadCountriesTests: CountriesInteractorTests {
93
93
countries. updatesRecorder. sink { updates in
94
94
XCTAssertEqual ( updates, [
95
95
. notRequested,
96
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
96
+ . isLoading( last: nil , cancelBag: . test ) ,
97
97
. failed( error)
98
98
] , removing: Country . prefixes)
99
99
self . mockedWebRepo. verify ( )
@@ -126,7 +126,7 @@ final class LoadCountriesTests: CountriesInteractorTests {
126
126
countries. updatesRecorder. sink { updates in
127
127
XCTAssertEqual ( updates, [
128
128
. notRequested,
129
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
129
+ . isLoading( last: nil , cancelBag: . test ) ,
130
130
. failed( error)
131
131
] , removing: Country . prefixes)
132
132
self . mockedWebRepo. verify ( )
@@ -163,7 +163,7 @@ final class LoadCountriesTests: CountriesInteractorTests {
163
163
countries. updatesRecorder. sink { updates in
164
164
XCTAssertEqual ( updates, [
165
165
. notRequested,
166
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
166
+ . isLoading( last: nil , cancelBag: . test ) ,
167
167
. loaded( list. lazyList)
168
168
] , removing: Country . prefixes)
169
169
self . mockedWebRepo. verify ( )
@@ -199,7 +199,7 @@ final class LoadCountriesTests: CountriesInteractorTests {
199
199
countries. updatesRecorder. sink { updates in
200
200
XCTAssertEqual ( updates, [
201
201
. notRequested,
202
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
202
+ . isLoading( last: nil , cancelBag: . test ) ,
203
203
. failed( error)
204
204
] , removing: Country . prefixes)
205
205
self . mockedWebRepo. verify ( )
@@ -236,7 +236,7 @@ final class LoadCountryDetailsTests: CountriesInteractorTests {
236
236
details. updatesRecorder. sink { updates in
237
237
XCTAssertEqual ( updates, [
238
238
. notRequested,
239
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
239
+ . isLoading( last: nil , cancelBag: . test ) ,
240
240
. loaded( data. details)
241
241
] , removing: Country . prefixes)
242
242
self . mockedWebRepo. verify ( )
@@ -270,7 +270,7 @@ final class LoadCountryDetailsTests: CountriesInteractorTests {
270
270
details. updatesRecorder. sink { updates in
271
271
XCTAssertEqual ( updates, [
272
272
. notRequested,
273
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
273
+ . isLoading( last: nil , cancelBag: . test ) ,
274
274
. failed( error)
275
275
] , removing: Country . prefixes)
276
276
self . mockedWebRepo. verify ( )
@@ -307,7 +307,7 @@ final class LoadCountryDetailsTests: CountriesInteractorTests {
307
307
details. updatesRecorder. sink { updates in
308
308
XCTAssertEqual ( updates, [
309
309
. notRequested,
310
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
310
+ . isLoading( last: nil , cancelBag: . test ) ,
311
311
. failed( error)
312
312
] , removing: Country . prefixes)
313
313
self . mockedWebRepo. verify ( )
@@ -343,7 +343,7 @@ final class LoadCountryDetailsTests: CountriesInteractorTests {
343
343
details. updatesRecorder. sink { updates in
344
344
XCTAssertEqual ( updates, [
345
345
. notRequested,
346
- . isLoading( last: nil , cancelBag: CancelBag ( ) ) ,
346
+ . isLoading( last: nil , cancelBag: . test ) ,
347
347
. loaded( data. details)
348
348
] , removing: Country . prefixes)
349
349
self . mockedWebRepo. verify ( )
0 commit comments