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

Updated TestAccDataClients to avoid noisy plan #1087

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

duedares-rvj
Copy link
Member

The previous implementation didn't take the order of returns clients into consideration which can change over multiple runs.
Thus, the index 0 and index 1 could be swapped.
Updated the implementation such that the index doesn't matter while the flattening logic is tested correctly.

🔧 Changes

📚 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)

@duedares-rvj duedares-rvj self-assigned this Nov 27, 2024
@duedares-rvj duedares-rvj requested a review from a team as a code owner November 27, 2024 10:20
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.37%. Comparing base (e158550) to head (8f37813).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1087   +/-   ##
=======================================
  Coverage   89.37%   89.37%           
=======================================
  Files         128      128           
  Lines       17735    17735           
=======================================
  Hits        15851    15851           
  Misses       1333     1333           
  Partials      551      551           

@duedares-rvj duedares-rvj merged commit 1573c5b into main Nov 27, 2024
5 checks passed
@duedares-rvj duedares-rvj deleted the Patch/update_test_case_client_data_source branch November 27, 2024 15:21
developerkunal pushed a commit to bryanroute/terraform-provider-auth0 that referenced this pull request Nov 28, 2024
developerkunal added a commit that referenced this pull request Nov 28, 2024
* Added support to set the oidc backchannel initiators mode and selected initiators

* Regenerated docs to add new properties

* Changed to use oidc_logout block

* Fixed And Added Test Cases

* Updated Docs

* Updated TestAccDataClients to avoid noisy plan (#1087)

Updated the test to avoid noisy plan

* fix: update messages in Forms using terraform. (#1088)

fix: update error messages in Forms using terraform.

Co-authored-by: Rajat Bajaj <[email protected]>

---------

Co-authored-by: Kunal Dawar <[email protected]>
Co-authored-by: Rajat Bajaj <[email protected]>
Co-authored-by: Kushal <[email protected]>
Co-authored-by: KunalOfficial <[email protected]>
duedares-rvj added a commit that referenced this pull request Nov 28, 2024
* Added support to set the oidc backchannel initiators mode and selected initiators

* Regenerated docs to add new properties

* Changed to use oidc_logout block

* Fixed And Added Test Cases

* Updated Docs

* Updated TestAccDataClients to avoid noisy plan (#1087)

Updated the test to avoid noisy plan

* fix: update messages in Forms using terraform. (#1088)

fix: update error messages in Forms using terraform.

Co-authored-by: Rajat Bajaj <[email protected]>

---------

Co-authored-by: Kunal Dawar <[email protected]>
Co-authored-by: Rajat Bajaj <[email protected]>
Co-authored-by: Kushal <[email protected]>
Co-authored-by: KunalOfficial <[email protected]>
Signed-off-by: Rajat Bajaj <[email protected]>
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.

3 participants