Skip to content

Commit

Permalink
Push fixes to pass UT/Code Analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Nora Emma «Metal-Mighty» Barlow authored and Metal-Mighty committed May 25, 2024
1 parent 605d133 commit be9f08c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace IoTHub.Portal.Tests.Unit.Infrastructure.Services
using System.Net;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text;
using System.Threading.Tasks;
using AutoFixture;
using IoTHub.Portal.Application.Services;
Expand Down Expand Up @@ -66,9 +65,9 @@ public async Task ExecuteLoRaDeviceMessageMustBeSuccessfullWhenParametersAreProv
// Arrange
var deviceId = Fixture.Create<string>();

string regex = "[0-9A-F]{8,15}";
var regex = "[0-9A-F]{8,15}";

Xeger xeger = new Xeger(regex, new Random(0)); // Note zero in Random constructor
var xeger = new Xeger(regex, new Random(0)); // Note zero in Random constructor

var command = new DeviceModelCommandDto
{
Expand Down

0 comments on commit be9f08c

Please sign in to comment.