chore(tests): dotnet format sobre archivos pre-existentes (surfaced durante CAT-001)

Fix mecánico de whitespace detectado por dotnet format --verify-no-changes durante la verify phase de CAT-001 (PR #30). Sin cambios funcionales.
This commit is contained in:
2026-04-18 20:56:23 -03:00
parent 8353f73230
commit 9957724c40
13 changed files with 110 additions and 102 deletions

View File

@@ -44,7 +44,7 @@ public sealed class PermisoResolverTests
Assert.DoesNotContain("A", result); Assert.DoesNotContain("A", result);
Assert.Contains("B", result); Assert.Contains("B", result);
Assert.Equal(1, result.Count); Assert.Single(result);
} }
// R-04: Grant duplicado (ya en rol) → idempotente, no duplicados // R-04: Grant duplicado (ya en rol) → idempotente, no duplicados

View File

@@ -66,10 +66,10 @@ public class TempPasswordGeneratorTests
{ {
var pwd = TempPasswordGenerator.Generate(12); var pwd = TempPasswordGenerator.Generate(12);
Assert.True(pwd.Length >= 12); Assert.True(pwd.Length >= 12);
Assert.True(pwd.Any(char.IsUpper)); Assert.Contains(pwd, char.IsUpper);
Assert.True(pwd.Any(char.IsLower)); Assert.Contains(pwd, char.IsLower);
Assert.True(pwd.Any(char.IsDigit)); Assert.Contains(pwd, char.IsDigit);
Assert.True(pwd.Any(c => symbols.Contains(c))); Assert.Contains(pwd, c => symbols.Contains(c));
} }
} }

View File

@@ -154,9 +154,17 @@ public sealed class JsonSanitizerTests
var input = new var input = new
{ {
password = "1", passwordHash = "2", token = "3", refreshToken = "4", password = "1",
accessToken = "5", cvv = "6", card = "7", cardNumber = "8", passwordHash = "2",
secret = "9", apiKey = "10", privateKey = "11", token = "3",
refreshToken = "4",
accessToken = "5",
cvv = "6",
card = "7",
cardNumber = "8",
secret = "9",
apiKey = "10",
privateKey = "11",
keep = "yes", keep = "yes",
}; };

View File

@@ -42,7 +42,7 @@ public class ListTiposDeIvaQueryHandlerTests
var result = await _handler.Handle(new ListTiposDeIvaQuery(1, 10, null, null)); var result = await _handler.Handle(new ListTiposDeIvaQuery(1, 10, null, null));
Assert.Equal(0, result.Items.Count); Assert.Empty(result.Items);
Assert.Equal(0, result.Total); Assert.Equal(0, result.Total);
} }