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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-593: Fix import issue on auth0_connection_clients #594

Merged
merged 2 commits into from May 24, 2023

Conversation

sergiught
Copy link
Contributor

馃敡 Changes

As raised in #593 after importing an auth0_connection_clients the resource tries to recreate itself, due to a missing data.Set(connection_id, connection.GetID()). This PR fixes that and adds a test case for such cases.

馃摎 References

馃敩 Testing

馃摑 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@sergiught sergiught changed the title Fix import issue on auth0_connection_clients GH-593: Fix import issue on auth0_connection_clients May 23, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #594 (f6d517e) into main (7f2eecc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #594   +/-   ##
=======================================
  Coverage   86.86%   86.86%           
=======================================
  Files          71       71           
  Lines       11148    11149    +1     
=======================================
+ Hits         9684     9685    +1     
  Misses       1116     1116           
  Partials      348      348           
Impacted Files Coverage 螖
internal/auth0/connection/resource_clients.go 79.86% <100.00%> (+0.13%) 猬嗭笍

@sergiught sergiught merged commit 07399b6 into main May 24, 2023
4 checks passed
@sergiught sergiught deleted the GH-593/import-issue branch May 24, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants