Skip to content

Commit

Permalink
WOR-1769 add state for missing billing profile pact test (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvoet authored Jul 15, 2024
1 parent 22e77dc commit ba69742
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ Map<String, Object> azureBillingProfileState() throws InterruptedException {
"managedResourceGroupId", profile.managedResourceGroupId().get());
}

@State("a missing billing profile")
void missingBillingProfileState() throws InterruptedException {
when(samService.hasActions(any(), eq(SamResourceType.PROFILE), any())).thenReturn(false);
}

@State("two billing profiles exist")
void twoProfilesExistState() throws InterruptedException {
var profilesIds =
Expand Down

0 comments on commit ba69742

Please sign in to comment.