Skip to content

Commit

Permalink
Created Integration Tests for the EmployeeRepository class
Browse files Browse the repository at this point in the history
More details can be found at #9.
  • Loading branch information
Josh Samuel O. Monreal authored and sohlae committed Jan 14, 2019
1 parent 952f60f commit 126def7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions Tests/RP.IntegrationTests/RP.IntegrationTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,24 @@
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<None Remove="appsettings.json" />
</ItemGroup>

<ItemGroup>
<Content Include="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="nunit" Version="3.10.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\RP.Business\RP.Business.csproj" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Tests/RP.UnitTests/EmployeeBusinessTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
using RP.Business;
using RP.Business.Dto;
using RP.Business.Profiles;
using RP.Data.Core;
using RP.Data.Entities;
using RP.DataAccess.RepositoryPattern.Core;
using RP.DataAccess.RepositoryPattern.Entities;

namespace RP.UnitTests
{
Expand Down

0 comments on commit 126def7

Please sign in to comment.