Skip to content

Fix tests [WIP]

Fix tests [WIP] #61

GitHub Actions / results-xcode-tests-macOS failed Nov 29, 2024 in 0s

Xcode test results

Testing project OAuth2 with scheme OAuth2macOS

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
50491000.76s

Test Summary

OAuth2Tests

  • Device: Apple Virtual Machine 1, 14.7.1 (23H222)
  • SDK: macOS 14.5, 14.5
TestTotalSuccessFailureSkippedExpected Failure
test-class OAuth2AuthRequestTests66000
test-class OAuth2ClientCredentialsTests55000
test-class OAuth2CodeGrantTests1212000
test-class OAuth2DataLoaderTests10100
test-class OAuth2DeviceGrantTests55000
test-class OAuth2DynRegTests33000
test-class OAuth2PasswordGrantTests44000
test-class OAuth2RefreshTokenTests55000
test-class OAuth2Tests99000

Failure Failures

OAuth2Tests/OAuth2DataLoaderTests/testAutoEnqueue()

File/Users/runner/work/oauth2-swift/oauth2-swift/Tests/DataLoaderTests/OAuth2DataLoaderTests.swift:67
Issue TypeAssertion Failure
MessageXCTAssertNotNil failed
File/Users/runner/work/oauth2-swift/oauth2-swift/Tests/DataLoaderTests/OAuth2DataLoaderTests.swift:73
Issue TypeAssertion Failure
MessageXCTAssertNil failed: "The request has been canceled"
File/Users/runner/work/oauth2-swift/oauth2-swift/Tests/DataLoaderTests/OAuth2DataLoaderTests.swift:81
Issue TypeAssertion Failure
MessageXCTAssertNotNil failed

Details

Test Details

OAuth2Testsback

OAuth2AuthRequestTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testContentType()
Successtest-method testHeaders()
Successtest-method testMethod()
Successtest-method testParams()
Successtest-method testRequests()
Successtest-method testURLComponents()

OAuth2ClientCredentialsTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testClientCredsReddit()
Successtest-method testFailedTokenRequest()
Successtest-method testInit()
Successtest-method testTokenRequest()
Successtest-method testTokenRequestNoScope()

OAuth2CodeGrantTests back

SuccessFailureSkippedExpected Failure⏱️
12 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testAuthorizeURI()
Successtest-method testAuthorizeURIWithPKCE()
Successtest-method testCustomAuthParameters()
Successtest-method testCustomAuthParametersInit()
Successtest-method testInit()
Successtest-method testNotTLS()
Successtest-method testRedirectURI()
Successtest-method testTokenRequest()
Successtest-method testTokenRequestAgainstAuthURL()
Successtest-method testTokenRequestWithPKCE()
Successtest-method testTokenRequestWithSecret()
Successtest-method testTokenResponse()

OAuth2DataLoaderTests back

SuccessFailureSkippedExpected Failure⏱️
0 (0%)1 (100%)0 (0%)0 (0%)0.75s
Failuretest-method testAutoEnqueue()back

OAuth2DeviceGrantTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDeviceAccessTokenRequest()
Successtest-method testDeviceAccessTokenResponse()
Successtest-method testDeviceAuthorizationRequest()
Successtest-method testDeviceAuthorizationRequestWithAdditionalParams()
Successtest-method testInit()

OAuth2DynRegTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testCustomDynRegInstance()
Successtest-method testNotAttemptingRegistration()
Successtest-method testRegistrationRequest()

OAuth2PasswordGrantTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testInit()
Successtest-method testTokenRequest()
Successtest-method testTokenRequestNoScope()
Successtest-method testTokenResponse()

OAuth2RefreshTokenTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testCannotRefresh()
Successtest-method testRefreshRequest()
Successtest-method testRefreshRequestWithDedicatedRefreshURI()
Successtest-method testRefreshRequestWithSecret()
Successtest-method testRefreshRequestWithSecretInBody()

OAuth2Tests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testAuthorizeCall()
Successtest-method testAuthorizeURL()
Successtest-method testInit()
Successtest-method testQueryParamConversion()
Successtest-method testQueryParamEncoding()
Successtest-method testQueryParamParsing()
Successtest-method testSessionConfiguration()
Successtest-method testTokenRefreshRequest()
Successtest-method testTokenRequest()

Annotations

Check failure on line 67 in Tests/DataLoaderTests/OAuth2DataLoaderTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

Assertion Failure

XCTAssertNotNil failed

Check failure on line 73 in Tests/DataLoaderTests/OAuth2DataLoaderTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

Assertion Failure

XCTAssertNil failed: "The request has been canceled"

Check failure on line 81 in Tests/DataLoaderTests/OAuth2DataLoaderTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

Assertion Failure

XCTAssertNotNil failed