[Test] ee/spec/serializers/ee/admin/abuse_report_details_entity_spec.rb | Admin::AbuseReportDetailsEntity users phone number when the user has no phone number validation attempts does not expose the phone number
Test metadata (don't modify)
Field | Value |
---|---|
File URL | ee/spec/serializers/ee/admin/abuse_report_details_entity_spec.rb#L56 |
Filename | ee/spec/serializers/ee/admin/abuse_report_details_entity_spec.rb |
Description | Admin::AbuseReportDetailsEntity users phone number when the user has no phone number validation attempts does not expose the phone number |
Test level | unit |
Hash | 0ba3d7c9f16d75c0780300770a20378412d8c0cae |
Duration | 0.25 seconds |
Expected duration | < 45.4 seconds |
Stack trace
Failure/Error: expect(phone_number_hash).to be_nil
expected: nil
got: #<Grape::Entity::Exposure::NestingExposure::OutputBuilder({:phone_matches_link=>"/admin/users/user1453/phone_match", :similar_records_count=>0})>
Reports (6)
- 2024-02-08: https://gitlab.com/gitlab-org/gitlab/-/jobs/6127885765 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1169545191)
- 2024-02-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/6177676115 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1177447993)
- 2024-03-08: https://gitlab.com/gitlab-org/gitlab/-/jobs/6349792329 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1206085763)
- 2024-03-08: https://gitlab.com/gitlab-org/gitlab/-/jobs/6349792577 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1206085763)
- 2024-03-08: https://gitlab.com/gitlab-org/gitlab/-/jobs/6349792214 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1206085763)
- 2024-03-08: https://gitlab.com/gitlab-org/gitlab/-/jobs/6350370923 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1206174051)
Edited by TEST_FAILURES_PROJECT_TOKEN