Skip to content

feat: Fix build and add unit tests - #20

Merged
Opselon merged 1 commit into
masterfrom
feat-auth-flow-e2e
Nov 3, 2025
Merged

feat: Fix build and add unit tests#20
Opselon merged 1 commit into
masterfrom
feat-auth-flow-e2e

Conversation

@Opselon

@Opselon Opselon commented Nov 3, 2025

Copy link
Copy Markdown
Owner

This commit fixes a persistent build error by correcting namespaces and project references. It also adds a new unit test project with basic tests for the RegisterUserCommandHandler and LoginUserCommandHandler.

The following changes were made:

  • Corrected namespaces in all interface files in the Application/Contracts directory to IdentityService.Application.Contracts.
  • Updated using statements in all files that reference the interfaces in Application/Contracts to use the new IdentityService.Application.Contracts namespace.
  • Recreated the IdentityService.UnitTests project and added basic unit tests.
  • Corrected the docker-compose command in the run.sh script to docker compose.
  • Added sudo to the docker compose commands in the run.sh script to address permission issues.

This commit fixes a persistent build error by correcting namespaces and project references. It also adds a new unit test project with basic tests for the `RegisterUserCommandHandler` and `LoginUserCommandHandler`.

The following changes were made:

-   Corrected namespaces in all interface files in the `Application/Contracts` directory to `IdentityService.Application.Contracts`.
-   Updated `using` statements in all files that reference the interfaces in `Application/Contracts` to use the new `IdentityService.Application.Contracts` namespace.
-   Recreated the `IdentityService.UnitTests` project and added basic unit tests.
-   Corrected the `docker-compose` command in the `run.sh` script to `docker compose`.
-   Added `sudo` to the `docker compose` commands in the `run.sh` script to address permission issues.
@Opselon
Opselon merged commit fdd40bf into master Nov 3, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant