mirror of
https://github.com/bitwarden/server
synced 2026-01-06 18:43:36 +00:00
Fix flaky UpdateSecretsManagerSubscriptionCommandTests (#3355)
Fix flaky UpdateSubscriptionAsync_ThrowsBadRequestException_WhenOccupiedSeatsExceedNewSeatTotal test by expressly setting SmSeat value instead of relying on autodata. This ensures that the new smSeat value is actually different.
This commit is contained in:
@@ -375,6 +375,7 @@ public class UpdateSecretsManagerSubscriptionCommandTests
|
||||
Organization organization,
|
||||
SutProvider<UpdateSecretsManagerSubscriptionCommand> sutProvider)
|
||||
{
|
||||
organization.SmSeats = 8;
|
||||
var update = new SecretsManagerSubscriptionUpdate(organization, false)
|
||||
{
|
||||
SmSeats = 7,
|
||||
|
||||
Reference in New Issue
Block a user