Skip to content

test: Update secretstest mocks for slim TestResult#59

Draft
danskmt wants to merge 1 commit intomainfrom
feat/CLI-1301-secretstest-mocks-metadata
Draft

test: Update secretstest mocks for slim TestResult#59
danskmt wants to merge 1 commit intomainfrom
feat/CLI-1301-secretstest-mocks-metadata

Conversation

@danskmt
Copy link
Copy Markdown

@danskmt danskmt commented Apr 7, 2026

What does this PR do?

Updates MockTestResult expectations for UFM/prepareOutput paths: ShallowMetadataCopy instead of removed getters (GetTestSubject, GetMetadata, etc.). Production flow already relied on findings and UFM helpers.

Where should the reviewer start?

  • internal/commands/secretstest/command_test.gosetupMockTestResultForPrepareOutput and workflow success setup

How should this be manually tested?

go test ./...

Dependency / merge order

Requires GAF with CLI-1301. Drop replace in go.mod in favor of bumped require when GAF is published.

Risk assessment

Low — test-only surface alignment.

Tickets

CLI-1301

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.

1 participant