Browse Source

Make unit tests compile

Andrea Bizzotto 7 năm trước cách đây
mục cha
commit
9d0694c411
1 tập tin đã thay đổi với 16 bổ sung0 xóa
  1. 16 0
      SwiftyStoreKitTests/PaymentQueueSpy.swift

+ 16 - 0
SwiftyStoreKitTests/PaymentQueueSpy.swift

@@ -44,4 +44,20 @@ class PaymentQueueSpy: PaymentQueue {
 
         finishTransactionCalledCount += 1
     }
+    
+    func start(_ downloads: [SKDownload]) {
+        
+    }
+    
+    func pause(_ downloads: [SKDownload]) {
+        
+    }
+    
+    func resume(_ downloads: [SKDownload]) {
+        
+    }
+    
+    func cancel(_ downloads: [SKDownload]) {
+        
+    }
 }