Skip to content

Simplify tests

Simplify tests #232

Triggered via pull request December 27, 2023 15:39
Status Failure
Total duration 1m 17s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: pull_request
version
0s
version
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 20 warnings
I can define a register endpoint: tests/Passwordless.AspNetCore.Tests/EndpointTests.cs#L27
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can view application event logs when event logs are enabled: tests/Passwordless.Tests/ApplicationEventLogsTests.cs#L16
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can generate an authentication token: tests/Passwordless.Tests/TokenTests.cs#L37
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can verify a valid authentication token: tests/Passwordless.Tests/TokenTests.cs#L53
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can try to verify a tampered authentication token and get an error: tests/Passwordless.Tests/TokenTests.cs#L86
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can list users and get an empty collection if there are not any: tests/Passwordless.Tests/UserTests.cs#L20
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can define a register endpoint and it will reject invalid registration attempts: tests/Passwordless.AspNetCore.Tests/EndpointTests.cs#L56
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can view application event logs when event logs are enabled: tests/Passwordless.Tests/ApplicationEventLogsTests.cs#L16
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can generate an authentication token: tests/Passwordless.Tests/TokenTests.cs#L37
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
I can verify a valid authentication token: tests/Passwordless.Tests/TokenTests.cs#L53
System.InvalidOperationException : Failed to create an app. Status code: 400. Response body: {"type":"https://docs.passwordless.dev/guide/errors.html#","title":"accountName needs to be alphanumeric and start with a letter","status":400,"errorCode":null}.
pack
Missing XML comment for publicly visible type or member 'ApplicationEvent.Id'
pack
Missing XML comment for publicly visible type or member 'AuthenticationOptions'
pack
Missing XML comment for publicly visible type or member 'AuthenticationOptions.UserId'
pack
Missing XML comment for publicly visible type or member 'AuthenticationOptions.AuthenticationOptions(string)'
pack
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse'
pack
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse.AuthenticationTokenResponse(string)'
pack
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse.Token'
pack
Missing XML comment for publicly visible type or member 'RegisterTokenResponse'
pack
Missing XML comment for publicly visible type or member 'RegisterTokenResponse.RegisterTokenResponse(string)'
pack
Missing XML comment for publicly visible type or member 'RegisterTokenResponse.Token'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'ApplicationEvent.Id'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationOptions'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationOptions.UserId'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationOptions.AuthenticationOptions(string)'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse.AuthenticationTokenResponse(string)'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse.Token'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'RegisterTokenResponse'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'RegisterTokenResponse.RegisterTokenResponse(string)'
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'RegisterTokenResponse.Token'

Artifacts

Produced during runtime
Name Size
packages Expired
473 KB