Skip to content
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

Enable project test #17

Closed
wants to merge 1 commit into from

Enable project test

5e14535
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Enable project test #17

Enable project test
5e14535
Select commit
Loading
Failed to load commit list.
GitHub Actions / .NET Tests failed Apr 7, 2024 in 0s

102 passed, 2 failed and 2 skipped

Tests failed

Report Passed Failed Skipped Time
TestResults/_fv-az520-957_2024-04-07_12_10_05.trx 51✅ 1❌ 1⚪ 36s
TestResults/_fv-az520-957_2024-04-07_12_10_38.trx 51✅ 1❌ 1⚪ 31s

❌ TestResults/_fv-az520-957_2024-04-07_12_10_05.trx

53 tests were completed in 36s with 51 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Descope.Test.Integration.AccessKeyTests 11✅ 1s
Descope.Test.Integration.AuthenticationTests 4✅ 8s
Descope.Test.Integration.JwtTests 2✅ 1s
Descope.Test.Integration.PasswordSettingsTests 1✅ 753ms
Descope.Test.Integration.PermissionTests 3✅ 720ms
Descope.Test.Integration.ProjectTests 1✅ 1❌ 7s
Descope.Test.Integration.RoleTests 3✅ 859ms
Descope.Test.Integration.SsoTests 3✅ 4s
Descope.Test.Integration.TenantTests 7✅ 2s
Descope.Test.Integration.UserTests 16✅ 1⚪ 5s

✅ Descope.Test.Integration.AccessKeyTests

✅ AccessKey_Activate_MissingId
✅ Accesskey_ActivateDeactivate
✅ AccessKey_Create_MissingName
✅ AccessKey_CreateAndUpdate
✅ AccessKey_Deactivate_MissingId
✅ AccessKey_Delete
✅ Accesskey_Delete_MissingId
✅ AccessKey_Load_MissingId
✅ AccessKey_SearchAll
✅ AccessKey_Update_MissingId
✅ AccessKey_Update_MissingName

✅ Descope.Test.Integration.AuthenticationTests

✅ Authentication_ExchangeAccessKeyAndMe
✅ Authentication_MeAndLogout
✅ Authentication_SelectTenant
✅ Authentication_ValidateAndRefresh

✅ Descope.Test.Integration.JwtTests

✅ Jwt_CustomClaims
✅ Jwt_Impersonate

✅ Descope.Test.Integration.PasswordSettingsTests

✅ PasswordSettings_GetAndUpdate

✅ Descope.Test.Integration.PermissionTests

✅ Permission_CreateAndLoad
✅ Permission_DeleteAndLoadAll
✅ Permission_UpdateAndSearch

❌ Descope.Test.Integration.ProjectTests

❌ Project_CloneRenameDelete
	Descope.DescopeException : [E111005]: Management key does not match project (Invalid project ID in request)
✅ Project_ExportImport

✅ Descope.Test.Integration.RoleTests

✅ Role_CreateAndLoad
✅ Role_DeleteAndLoadAll
✅ Role_UpdateAndSearch

✅ Descope.Test.Integration.SsoTests

✅ Sso_Oidc
✅ Sso_SamlByMetadata
✅ Sso_SamlSetAndDelete

✅ Descope.Test.Integration.TenantTests

✅ Tenant_Create_MissingName
✅ Tenant_CreateAndLoad
✅ Tenant_Delete_MissingId
✅ Tenant_DeleteAndLoadAll
✅ Tenant_Update_MissingId
✅ Tenant_Update_MissingName
✅ Tenant_UpdateAndSearch

✅ Descope.Test.Integration.UserTests

✅ User_Activate
✅ User_Create
✅ User_CreateBatch
✅ User_DeleteAndSearch
✅ User_Password
✅ User_Roles
✅ User_SsoApps
✅ User_Tenants
✅ User_TestUser
✅ User_Update
⚪ User_UpdateCustomAttributes
✅ User_UpdateDisplayName
✅ User_UpdateEmail
✅ User_UpdateLoginId
✅ User_UpdatePhone
✅ User_UpdatePicture
✅ User_UpdateUserNames

❌ TestResults/_fv-az520-957_2024-04-07_12_10_38.trx

53 tests were completed in 31s with 51 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Descope.Test.Integration.AccessKeyTests 11✅ 925ms
Descope.Test.Integration.AuthenticationTests 4✅ 6s
Descope.Test.Integration.JwtTests 2✅ 1s
Descope.Test.Integration.PasswordSettingsTests 1✅ 900ms
Descope.Test.Integration.PermissionTests 3✅ 591ms
Descope.Test.Integration.ProjectTests 1✅ 1❌ 8s
Descope.Test.Integration.RoleTests 3✅ 675ms
Descope.Test.Integration.SsoTests 3✅ 3s
Descope.Test.Integration.TenantTests 7✅ 3s
Descope.Test.Integration.UserTests 16✅ 1⚪ 5s

✅ Descope.Test.Integration.AccessKeyTests

✅ AccessKey_Activate_MissingId
✅ Accesskey_ActivateDeactivate
✅ AccessKey_Create_MissingName
✅ AccessKey_CreateAndUpdate
✅ AccessKey_Deactivate_MissingId
✅ AccessKey_Delete
✅ Accesskey_Delete_MissingId
✅ AccessKey_Load_MissingId
✅ AccessKey_SearchAll
✅ AccessKey_Update_MissingId
✅ AccessKey_Update_MissingName

✅ Descope.Test.Integration.AuthenticationTests

✅ Authentication_ExchangeAccessKeyAndMe
✅ Authentication_MeAndLogout
✅ Authentication_SelectTenant
✅ Authentication_ValidateAndRefresh

✅ Descope.Test.Integration.JwtTests

✅ Jwt_CustomClaims
✅ Jwt_Impersonate

✅ Descope.Test.Integration.PasswordSettingsTests

✅ PasswordSettings_GetAndUpdate

✅ Descope.Test.Integration.PermissionTests

✅ Permission_CreateAndLoad
✅ Permission_DeleteAndLoadAll
✅ Permission_UpdateAndSearch

❌ Descope.Test.Integration.ProjectTests

❌ Project_CloneRenameDelete
	Descope.DescopeException : [E111005]: Management key does not match project (Invalid project ID in request)
✅ Project_ExportImport

✅ Descope.Test.Integration.RoleTests

✅ Role_CreateAndLoad
✅ Role_DeleteAndLoadAll
✅ Role_UpdateAndSearch

✅ Descope.Test.Integration.SsoTests

✅ Sso_Oidc
✅ Sso_SamlByMetadata
✅ Sso_SamlSetAndDelete

✅ Descope.Test.Integration.TenantTests

✅ Tenant_Create_MissingName
✅ Tenant_CreateAndLoad
✅ Tenant_Delete_MissingId
✅ Tenant_DeleteAndLoadAll
✅ Tenant_Update_MissingId
✅ Tenant_Update_MissingName
✅ Tenant_UpdateAndSearch

✅ Descope.Test.Integration.UserTests

✅ User_Activate
✅ User_Create
✅ User_CreateBatch
✅ User_DeleteAndSearch
✅ User_Password
✅ User_Roles
✅ User_SsoApps
✅ User_Tenants
✅ User_TestUser
✅ User_Update
⚪ User_UpdateCustomAttributes
✅ User_UpdateDisplayName
✅ User_UpdateEmail
✅ User_UpdateLoginId
✅ User_UpdatePhone
✅ User_UpdatePicture
✅ User_UpdateUserNames

Annotations

Check failure on line 90 in Descope/Internal/Http/HttpClient.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

Descope.Test.Integration.ProjectTests ► Project_CloneRenameDelete

Failed test found in:
  TestResults/_fv-az520-957_2024-04-07_12_10_05.trx
Error:
  Descope.DescopeException : [E111005]: Management key does not match project (Invalid project ID in request)
Raw output
Descope.DescopeException : [E111005]: Management key does not match project (Invalid project ID in request)
   at Descope.Internal.HttpClient.Call[TResponse](String resource, Method method, String pswd, Object body, Dictionary`2 queryParams) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Http/HttpClient.cs:line 90
   at Descope.Internal.HttpClient.Post[TResponse](String resource, String pswd, Object body, Dictionary`2 queryParams) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Http/HttpClient.cs:line 48
   at Descope.Internal.Management.Project.Delete(String projectId) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Management/Project.cs:line 47
   at Descope.Test.Integration.ProjectTests.Project_CloneRenameDelete() in /home/runner/work/descope-dotnet/descope-dotnet/Descope.Test/IntegrationTests/Management/ProjectTests.cs:line 25
--- End of stack trace from previous location ---

Check failure on line 90 in Descope/Internal/Http/HttpClient.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

Descope.Test.Integration.ProjectTests ► Project_CloneRenameDelete

Failed test found in:
  TestResults/_fv-az520-957_2024-04-07_12_10_38.trx
Error:
  Descope.DescopeException : [E111005]: Management key does not match project (Invalid project ID in request)
Raw output
Descope.DescopeException : [E111005]: Management key does not match project (Invalid project ID in request)
   at Descope.Internal.HttpClient.Call[TResponse](String resource, Method method, String pswd, Object body, Dictionary`2 queryParams) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Http/HttpClient.cs:line 90
   at Descope.Internal.HttpClient.Post[TResponse](String resource, String pswd, Object body, Dictionary`2 queryParams) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Http/HttpClient.cs:line 47
   at Descope.Internal.Management.Project.Delete(String projectId) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Management/Project.cs:line 47
   at Descope.Test.Integration.ProjectTests.Project_CloneRenameDelete() in /home/runner/work/descope-dotnet/descope-dotnet/Descope.Test/IntegrationTests/Management/ProjectTests.cs:line 25
--- End of stack trace from previous location ---