Skip to content

Conversation

@rulasg
Copy link
Owner

@rulasg rulasg commented May 9, 2025

Bug cache not updated properly

repo steps

  1. check cache - Country is Angola
  2. run get-sfaccount : retreive angola
  3. run get-sfacount -force : show new value "Spain"
  4. run get-sfaccount again and shows old value Angola

@rulasg rulasg self-assigned this May 9, 2025
# Act with cache
$result = Get-SfAccount -SfUrl $url
Assert-AreEqual -Expected "kkContry" -Presented $result.Country_Name__c

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
[Parameter(Mandatory)][string[]]$Attributes,
[switch]$Force
)

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
@rulasg rulasg merged commit 0c63865 into main May 9, 2025
3 checks passed
@rulasg rulasg deleted the bug-cache-note-updated branch May 9, 2025 14:32
@rulasg rulasg linked an issue May 9, 2025 that may be closed by this pull request
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.

BUG - Cache not beeing updated properly

2 participants