-
Notifications
You must be signed in to change notification settings - Fork 4
chore: Add Context Values #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
613d747
to
f404268
Compare
beade08
to
f404268
Compare
.circleci/config.yml
Outdated
- run: | ||
name: Setup Certificate and Keychain | ||
command: | | ||
# create variables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be a script?
fastlane/Fastfile
Outdated
match( | ||
type: "development", | ||
app_identifier: ["com.twilio.verify.HostApp"] | ||
# match( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed?
fastlane/Fastfile
Outdated
type: "development", | ||
app_identifier: ["com.twilio.verify.AppSizer"] | ||
) | ||
# match( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the Matchfile?
ac6f56e
to
e6c4c0b
Compare
b1c2cb9
to
7720a48
Compare
* fix: Gemfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-REXML-6861566 * Update CircleCI Resources --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* Fix unit test crashing * Fix flaky test * Print received error * Support error when creating keypair with invalid parameters * Test device * Update iOS version to 12 * feat: Support Xcode 16.3 (#229) * feat: Support Xcode 16.3 * feat: Update project to testplans --------- Co-authored-by: Yeimi Moreno <ymoreno@twilio.com> Co-authored-by: Alejandro Orozco <aorozcobuiles@twilio.com>
3011c7e
to
88eb0d9
Compare
@@ -154,8 +158,8 @@ class FactorAPIClientTests: XCTestCase { | |||
"Authorization header should not be nil") | |||
XCTAssertNotNil(networkProvider.urlRequest?.allHTTPHeaderFields![HTTPHeader.Constant.userAgent], | |||
"User agent header should not be nil") | |||
XCTAssertEqual(String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self), params.asString(), | |||
"Body should be \(params.asString()) but was \(networkProvider.urlRequest!.httpBody!)") | |||
XCTAssert(String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self) == params.asString() || String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self) == paramsv2.asString(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line should be 195 characters or less; currently it has 203 charactersline_length FactorAPIClientTests.swift:161 |
@@ -154,8 +158,8 @@ class FactorAPIClientTests: XCTestCase { | |||
"Authorization header should not be nil") | |||
XCTAssertNotNil(networkProvider.urlRequest?.allHTTPHeaderFields![HTTPHeader.Constant.userAgent], | |||
"User agent header should not be nil") | |||
XCTAssertEqual(String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self), params.asString(), | |||
"Body should be \(params.asString()) but was \(networkProvider.urlRequest!.httpBody!)") | |||
XCTAssert(String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self) == params.asString() || String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self) == paramsv2.asString(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer failable String(data:encoding:) initializer when converting Data to String optional_data_string_conversion FactorAPIClientTests.swift:161 |
XCTAssertEqual(String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self), params.asString(), | ||
"Body should be \(params.asString()) but was \(networkProvider.urlRequest!.httpBody!)") | ||
XCTAssert(String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self) == params.asString() || String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self) == paramsv2.asString(), | ||
"Body should be \(params.asString()) or \(paramsv2.asString()) but was \(String(decoding: networkProvider.urlRequest!.httpBody!, as: UTF8.self))") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer failable String(data:encoding:) initializer when converting Data to String optional_data_string_conversion FactorAPIClientTests.swift:162 |
Code coverageTotal coverage:
|
File | Coverage |
---|---|
TwilioVerifySDK/TwilioSecurity/Sources/Key/Template/ECP256SignerTemplate.swift | 93.02% |
TwilioVerifySDK/TwilioSecurity/Sources/Keychain/Keychain.swift | 88.83% |
Powered by Slather
Generated by 🚫 Danger
Ticket
Github Issue
Description
Commit message
Screenshot
Testing