Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

fix(namespace): fix namespaces on reported class names #1365

Merged
merged 3 commits into from
Jul 24, 2023

Conversation

JonnyPower
Copy link
Contributor

@JonnyPower JonnyPower commented Jul 21, 2023

closes #1362

Summary generated by Reviewpad on 21 Jul 23 03:34 UTC

This pull request fixes namespaces on reported class names in the TriggerApexTests.ts file. It makes modifications to the fixBadNamespaceClassFullNames method to replace underscores with dots in class names. This ensures that the namespaces are correctly represented. The changes also include updating the testResult and secondTestResult variables to apply the fixed namespaces.

Checklist

All items have to be completed before a PR is merged

  • Adhere to Contribution Guidelines
  • Updates to Decision Records considered?
  • Updates to documentation at DX@Scale Guide considered?
  • Tested changes?
  • Unit Tests new and existing passing locally?

@reviewpad reviewpad bot requested a review from azlam-abdulsalam July 21, 2023 03:34
@reviewpad
Copy link

reviewpad bot commented Jul 21, 2023

Thank you @JonnyPower for this first contribution!

@reviewpad reviewpad bot added small Pull request is small waiting-for-review labels Jul 21, 2023
@JonnyPower JonnyPower force-pushed the issues/1362 branch 2 times, most recently from a552105 to ce5507e Compare July 21, 2023 03:40
@JonnyPower
Copy link
Contributor Author

@azlam-abdulsalam any idea what the "Invalid time value" error is? don't believe it's related to my changes, but concerning because of the exit code (1)

image

@JonnyPower
Copy link
Contributor Author

Invalid time value unrelated. Caused by upstream. PR: forcedotcom/salesforcedx-apex#324

@azlam-abdulsalam azlam-abdulsalam requested review from zhebinliu and removed request for azlam-abdulsalam July 24, 2023 21:29
Copy link
Contributor

@azlam-abdulsalam azlam-abdulsalam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @JonnyPower , This looks good!

@codecov
Copy link

codecov bot commented Jul 24, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@4ff16d8). Click here to learn what that means.
Patch has no changes to coverable lines.

❗ Current head e7c0b90 differs from pull request most recent head 130b8cc. Consider uploading reports for the commit 130b8cc to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1365   +/-   ##
=======================================
  Coverage        ?   47.01%           
=======================================
  Files           ?       70           
  Lines           ?     3099           
  Branches        ?      659           
=======================================
  Hits            ?     1457           
  Misses          ?     1617           
  Partials        ?       25           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@azlam-abdulsalam azlam-abdulsalam merged commit f88f227 into dxatscale:main Jul 24, 2023
azlam-abdulsalam pushed a commit that referenced this pull request Aug 11, 2023
* fix(namespace): fix namespaces on reported class names

Related to: #1362

* fix(apex-test): retry on Internal SF Error

* fix(apex-test): update decision record
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
small Pull request is small waiting-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad namespaced class names from apex-node break test retry logic
2 participants