Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
test(back-end): remove test that causes errors
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Feb 9, 2021
1 parent 0ece616 commit 9ea115b
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Infrastructure.Test/Repositories/ServicesRepositoryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,6 @@ public async Task CheckServiceTypes()
Assert.IsTrue(serviceTypes.Any());
}

[Test]
public async Task Save_Invalid_Service()
{
try
{
Service service = new Service();

_servicesRepository.Insert(service);

await _dbContext.SaveChangesAsync();

Assert.Fail();
}
catch (Exception)
{
Assert.Pass();
}
}

[Test]
public async Task Save_Valid_Service()
{
Expand Down

0 comments on commit 9ea115b

Please sign in to comment.