From a8136576675c56b454710b0c0df6bd6c21ac6e33 Mon Sep 17 00:00:00 2001 From: natlinux Date: Sat, 9 May 2026 18:10:05 +0200 Subject: [PATCH] add unit tests --- .idea/.idea.DotNetAngular/.idea/workspace.xml | 74 +++-- DotNetAngular.sln.DotSettings.user | 3 + tests/Application.FunctionalTest/UnitTest1.cs | 9 - .../Application.UnitTest.csproj | 7 + .../Services/AuthenticationServiceTests.cs | 285 ++++++++++++++++++ .../Services/UserServiceTests.cs | 222 ++++++++++++++ tests/Application.UnitTest/UnitTest1.cs | 9 - .../Validators/LoginRequestValidatorTests.cs | 33 ++ .../RegisterRequestValidatorTests.cs | 41 +++ .../UserUpdateRequestValidatorTests.cs | 34 +++ 10 files changed, 667 insertions(+), 50 deletions(-) delete mode 100644 tests/Application.FunctionalTest/UnitTest1.cs create mode 100644 tests/Application.UnitTest/Services/AuthenticationServiceTests.cs create mode 100644 tests/Application.UnitTest/Services/UserServiceTests.cs delete mode 100644 tests/Application.UnitTest/UnitTest1.cs create mode 100644 tests/Application.UnitTest/Validators/LoginRequestValidatorTests.cs create mode 100644 tests/Application.UnitTest/Validators/RegisterRequestValidatorTests.cs create mode 100644 tests/Application.UnitTest/Validators/UserUpdateRequestValidatorTests.cs diff --git a/.idea/.idea.DotNetAngular/.idea/workspace.xml b/.idea/.idea.DotNetAngular/.idea/workspace.xml index f6f9c31..146affb 100644 --- a/.idea/.idea.DotNetAngular/.idea/workspace.xml +++ b/.idea/.idea.DotNetAngular/.idea/workspace.xml @@ -20,10 +20,9 @@ - - - - + + + @@ -235,6 +235,7 @@ + -