Skip to content

Testing project added #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Testing project added #76

wants to merge 1 commit into from

Conversation

aminespinoza10
Copy link
Owner

Closes #74

This pull request adds a new test project for the AppVecinos.API and includes several related changes to the solution and project files. The most important changes include adding the new test project to the solution, configuring the test project with necessary packages, and implementing initial login tests.

Additions to the solution:

  • App-de-Vecinos.sln: Added the AppVecinos.API.Tests project to the solution file.
  • App-de-Vecinos.sln: Updated the Global section to include build configurations for the new test project.

Configuration of the test project:

Implementation of login tests:

Minor changes:

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • App-de-Vecinos.sln: Language not supported
  • AppVecinos.API.Tests/AppVecinos.API.Tests.csproj: Language not supported
Comments suppressed due to low confidence (1)

AppVecinos.API.Tests/LoginTests.cs:31

  • The properties 'username' and 'password' in 'LoginRequest' are inconsistently named. They should be renamed to 'Username' and 'Password' to match the naming convention in the other test method.
var response = await client.PostAsJsonAsync("/login", new LoginRequest { username = "Amin", password = "1234" });

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.

Create MainNeighborService functionality
1 participant