Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 2367f1b

Browse files
HadwaAbdelhalemDavid Tesar
authored andcommitted
Add POI unit test (#64)
1 parent f83e99f commit 2367f1b

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

apis/poi/tests/UnitTests/HealthCheckTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Xunit;
33
using poi.Models;
44

5-
namespace tests
5+
namespace UnitTests
66
{
77
public class HealthCheckUnitTests
88
{
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using Xunit;
2+
using poi.Utility;
3+
4+
namespace UnitTests
5+
{
6+
public class UtilityTests
7+
{
8+
[Fact]
9+
public void TestLoggingEvents()
10+
{
11+
Assert.Equal(1000, LoggingEvents.Healthcheck);
12+
Assert.Equal(2001, LoggingEvents.GetAllPOIs);
13+
Assert.Equal(2002, LoggingEvents.GetPOIByID);
14+
Assert.Equal(2002, LoggingEvents.GetPOIByTripID);
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)