Skip to content

Commit 89b0098

Browse files
committed
Move WordPressComRestApiErrorDomain to APIInterface
This DRYs the definition, makes the constant available to both Objective-C and Swift, and removes the need for custom builder and checker. See @crazytonyli's suggestion from wordpress-mobile/WordPressKit-iOS#782 (comment)
1 parent 87a93d9 commit 89b0098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/WordPressAuthenticatorTests/WordPressKit/CoreAPITests/WordPressComRestApiTests+Error.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import XCTest
22
#if SWIFT_PACKAGE
3+
import APIInterface
34
@testable import CoreAPI
45
#else
56
@testable import WordPressKit

0 commit comments

Comments
 (0)