Skip to content

Testing project added#76

Open
aminespinoza10 wants to merge 1 commit intomainfrom
amin/74
Open

Testing project added#76
aminespinoza10 wants to merge 1 commit intomainfrom
amin/74

Conversation

@aminespinoza10
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

2 participants