Skip to content

Conversation

@ivarne
Copy link
Member

@ivarne ivarne commented May 14, 2025

When merging main into #1279 I had some issues with null pointer exceptions because the Mocs inn the signing tests where not strict and relied on the default behaviour of returning null for non nullable return values.

This makes all mocks strict, so that we can't omit Setup on methods that gets called.

@ivarne ivarne requested a review from HauklandJ May 14, 2025 22:09
@ivarne ivarne added ignore-for-release backport-ignore This PR is a new feature and should not be cherry-picked onto release branches labels May 14, 2025
@ivarne ivarne enabled auto-merge (squash) May 16, 2025 08:35
@ivarne ivarne merged commit ddc5047 into main May 16, 2025
9 checks passed
@ivarne ivarne deleted the chore/make-mocking-strict branch May 16, 2025 08:40
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
50.0% Condition Coverage on New Code (required ≥ 65%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-ignore This PR is a new feature and should not be cherry-picked onto release branches ignore-for-release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants