Skip to content

Commit

Permalink
add level value to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erenbesel committed Nov 18, 2024
1 parent fbb8ccb commit 31dc37b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Adyen/Analytics/Requests/InitialAnalyticsRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal struct InitialAnalyticsRequest: APIRequest {
private let containerWidth: Int?
private let paymentMethods: [String]
private let component: String
private let level: String
internal let level: String
internal let amount: Amount?
internal let sessionId: String?

Expand Down
1 change: 1 addition & 0 deletions Tests/UnitTests/Analytics/AnalyticsProviderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class AnalyticsProviderTests: XCTestCase {
XCTAssertNil(initialAnalyticsdRequest.amount)
XCTAssertEqual(initialAnalyticsdRequest.version, adyenSdkVersion)
XCTAssertEqual(initialAnalyticsdRequest.platform, "iOS")
XCTAssertEqual(initialAnalyticsdRequest.level, "all")
analyticsExpectation.fulfill()
}
}
Expand Down

0 comments on commit 31dc37b

Please sign in to comment.