We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
passwordProtected
1 parent ae29827 commit 6a1b11fCopy full SHA for 6a1b11f
WooCommerce/WooCommerceTests/Model/ProductVisibilityTests.swift
@@ -33,4 +33,10 @@ final class ProductVisibilityTests: XCTestCase {
33
XCTAssertEqual(visibility, .publicVisibility)
34
}
35
36
+ func testProductVisibilityPasswordProtected() {
37
+ let visibility = ProductVisibility(status: .publish, password: "1234")
38
+
39
+ XCTAssertEqual(visibility, .passwordProtected)
40
+ }
41
42
0 commit comments