Skip to content

test: refactor grantauditlog tests into unit tests#1824

Merged
ale8k merged 5 commits intocanonical:v3from
ale8k:unit-test-grantauditlogaccess
Jan 22, 2026
Merged

test: refactor grantauditlog tests into unit tests#1824
ale8k merged 5 commits intocanonical:v3from
ale8k:unit-test-grantauditlogaccess

Conversation

@ale8k
Copy link
Contributor

@ale8k ale8k commented Jan 21, 2026

Description

Refactors grant audit log access tests into unit tests.

I added an additional bit of validation to the user tag as we were creating new name tag and it could have panicked. So we now validate in the Init() func. I've added a test to validate this.

Engineering checklist

  • Documentation updated
  • Covered by unit tests
  • Covered by integration tests

Test instructions

@ale8k ale8k requested a review from a team as a code owner January 21, 2026 17:38
@ale8k ale8k force-pushed the unit-test-grantauditlogaccess branch from a264db3 to 59d61a9 Compare January 22, 2026 17:02
@ale8k ale8k merged commit bbaf1ea into canonical:v3 Jan 22, 2026
8 checks passed
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