@@ -154,7 +154,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
154
154
func test05_delete_file( ) {
155
155
let expectation = XCTestExpectation ( description: " test5_delete_file " )
156
156
157
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
157
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
158
158
let data = try ! Data ( contentsOf: url)
159
159
160
160
DLog ( " size of file: \( sizeString ( ofData: data) ) " )
@@ -189,7 +189,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
189
189
func test06_batch_delete_files( ) {
190
190
let expectation = XCTestExpectation ( description: " test6_batch_delete_files " )
191
191
192
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
192
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
193
193
let data = try ! Data ( contentsOf: url)
194
194
195
195
DLog ( " size of file: \( sizeString ( ofData: data) ) " )
@@ -224,7 +224,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
224
224
func test07_store_file( ) {
225
225
let expectation = XCTestExpectation ( description: " test7_store_file " )
226
226
227
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
227
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
228
228
let data = try ! Data ( contentsOf: url)
229
229
230
230
DLog ( " size of file: \( sizeString ( ofData: data) ) " )
@@ -262,7 +262,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
262
262
func test08_batch_store_files( ) {
263
263
let expectation = XCTestExpectation ( description: " test8_batch_store_files " )
264
264
265
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
265
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
266
266
let data = try ! Data ( contentsOf: url)
267
267
268
268
DLog ( " size of file: \( sizeString ( ofData: data) ) " )
@@ -421,7 +421,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
421
421
func test13_copy_file_to_local_storage( ) {
422
422
let expectation = XCTestExpectation ( description: " test13_copy_file_to_local_storage " )
423
423
424
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
424
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
425
425
let data = try ! Data ( contentsOf: url)
426
426
427
427
DLog ( " size of file: \( sizeString ( ofData: data) ) " )
@@ -460,7 +460,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
460
460
func test14_copy_file_to_remote_storage( ) {
461
461
let expectation = XCTestExpectation ( description: " test14_copy_file_to_remote_storage " )
462
462
463
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
463
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
464
464
let data = try ! Data ( contentsOf: url)
465
465
466
466
DLog ( " size of file: \( sizeString ( ofData: data) ) " )
@@ -583,7 +583,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
583
583
func test19_document_conversion_and_status( ) {
584
584
let expectation = XCTestExpectation ( description: " test19_document_conversion_and_status " )
585
585
586
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
586
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
587
587
let data = try ! Data ( contentsOf: url)
588
588
589
589
DLog ( " size of file: \( sizeString ( ofData: data) ) " )
@@ -743,7 +743,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
743
743
func test21_storing_shoudBeStored( ) {
744
744
let expectation = XCTestExpectation ( description: " test21_storing_shoudBeStored " )
745
745
746
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
746
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
747
747
let data = try ! Data ( contentsOf: url)
748
748
let file = uploadcare. file ( fromData: data)
749
749
let name = UUID ( ) . uuidString
@@ -1009,7 +1009,7 @@ final class RESTAPIIntegrationTests: XCTestCase {
1009
1009
func test27_document_info( ) {
1010
1010
let expectation = XCTestExpectation ( description: " test27_document_info " )
1011
1011
1012
- let url = URL ( string: " https://source.unsplash. com/featured " ) !
1012
+ let url = URL ( string: " https://ucarecdn. com/46528d0d-323c-42d7-beab-2fdc5e7077ba/ " ) !
1013
1013
guard let data = try ? Data ( contentsOf: url) else {
1014
1014
XCTFail ( " Could not read data from URL " )
1015
1015
return
0 commit comments