Skip to content

Commit

Permalink
all tests running green
Browse files Browse the repository at this point in the history
  • Loading branch information
acn-sbuad committed Jan 30, 2024
1 parent ff2587f commit 1dd0999
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions src/Altinn.Notifications.Core/Enums/SmsNotificationResultType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
namespace Altinn.Notifications.Core.Enums;

/// <summary>
/// Enum describing sms notification result types
/// </summary>
public enum SmsNotificationResultType
{
/// <summary>
/// Default result for new notifications
/// </summary>
New,

/// <summary>
/// Sms notification being sent
/// </summary>
Sending,

/// <summary>
/// Sms notification sent to service provider
/// </summary>
Accepted,

/// <summary>
/// Failed, unknown reason
/// </summary>
Failed,

/// <summary>
/// Failed, invalid mobilenumber
/// </summary>
Failed_InvalidRecipient
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Altinn.Notifications.IntegrationTests.Notifications.Persistence
{
public class OrderRepositoryTests : IAsyncLifetime
{
private List<Guid> orderIdsToDelete;
private readonly List<Guid> orderIdsToDelete;

public OrderRepositoryTests()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Altinn.Notifications.IntegrationTests.Notifications.Persistence;

public class SmsRepositoryTests : IAsyncLifetime
{
private List<Guid> orderIdsToDelete;
private readonly List<Guid> orderIdsToDelete;

public SmsRepositoryTests()
{
Expand Down

0 comments on commit 1dd0999

Please sign in to comment.