Skip to content

Commit 818792a

Browse files
committed
Update access control for unit tests
1 parent e10dc45 commit 818792a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

WooCommerce/WooCommerceTests/ViewRelated/MurielColorTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import XCTest
2+
import WooFoundation
23
@testable import WooCommerce
34

45
final class MurielColorTests: XCTestCase {

WooCommerce/WooCommerceTests/ViewRelated/UIColor+Muriel-Tests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import XCTest
2+
import WooFoundation
23
@testable import WooCommerce
34

45
final class UIColor_Muriel_Tests: XCTestCase {

WooFoundation/WooFoundation/Colors/ColorStudio.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ public struct ColorStudio {
5252
let name: ColorStudioName
5353
let shade: ColorStudioShade
5454

55-
init(name: ColorStudioName, shade: ColorStudioShade = .shade50) {
55+
public init(name: ColorStudioName, shade: ColorStudioShade = .shade50) {
5656
self.name = name
5757
self.shade = shade
5858
}
5959

60-
init(from identifier: ColorStudio, shade: ColorStudioShade) {
60+
public init(from identifier: ColorStudio, shade: ColorStudioShade) {
6161
self.name = identifier.name
6262
self.shade = shade
6363
}
@@ -76,7 +76,7 @@ public struct ColorStudio {
7676
public static let celadon = ColorStudio(name: .celadon)
7777

7878
/// The full name of the color, with required shade value
79-
func assetName() -> String {
79+
public func assetName() -> String {
8080
return "\(name)\(shade)"
8181
}
8282
}

0 commit comments

Comments
 (0)