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.
Step
Flow
1 parent 82f9d94 commit 447761bCopy full SHA for 447761b
WooCommerce/WooCommerceTests/Model/CustomHelpCenterContentTests.swift
@@ -36,4 +36,11 @@ final class CustomHelpCenterContentTests: XCTestCase {
36
XCTAssertEqual(sut.trackingProperties[CustomHelpCenterContent.Key.flow.rawValue], flow.rawValue)
37
XCTAssertEqual(sut.trackingProperties[CustomHelpCenterContent.Key.url.rawValue], helpContentURL.absoluteString)
38
}
39
+
40
+ func test_init_using_invalid_step_and_flow_returns_nil() {
41
+ let step: AuthenticatorAnalyticsTracker.Step = .magicLinkRequested
42
+ let flow: AuthenticatorAnalyticsTracker.Flow = .prologue
43
44
+ XCTAssertNil(CustomHelpCenterContent(step: step, flow: flow))
45
+ }
46
0 commit comments