Skip to content

Commit

Permalink
Resolved Review comments AB#107519
Browse files Browse the repository at this point in the history
  • Loading branch information
MitaliSingh16 committed Jan 11, 2024
1 parent da80e02 commit da01d2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public async Task WhenValidRoSEventInRecordOfSalePublishedEventPostReceivedWithI
[Test, Order(2)]
[TestCase("LTC03_InValidLTCwithNoCorrelationID.json", TestName = "WhenValidRoSMigrateNewLicencePublishedEventReceivedWithInvalidPayload_ThenWebhookReturns400BadRequestResponse")]
[TestCase("LTC05_InValidLTCwithNoCorrelationID.json", TestName = "WhenValidRoSMigrateExistingLicencePublishedEventReceivedWithInvalidPayload_ThenWebhookReturns400BadRequestResponse")]
[TestCase("LTC09_InValidLTCwithNoCorrelationID.json", TestName = "WhenValidRoSConvertTrialToFullLicencePublishedEventReceivedWithInvalidPayload_ThenWebhookReturns400BadRequestResponse")]
[TestCase("LTC09_InvalidLTCwithNoCorrelationID.json", TestName = "WhenValidRoSConvertTrialToFullLicencePublishedEventReceivedWithInvalidPayload_ThenWebhookReturns400BadRequestResponse")]
[TestCase("RoS11_InValidRoSwithNoCorrelationID.json", TestName = "WhenInValidRoSEventInRecordOfSalePublishedEventPostReceived_ThenWebhookReturns400BadRequestResponse")]
public async Task WhenInValidRoSEventInRecordOfSalePublishedEventPostReceived_ThenWebhookReturns400BadRequestResponse(string payloadFileName)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class RoSWebhookEndpoint
private readonly AzureBlobStorageHelper _azureBlobStorageHelper;
private const string RoSWebhookRequestEndPoint = "/webhook/recordofsalepublishedeventreceived";
public static string GeneratedCorrelationId = string.Empty;
public static string RecordOfSalesContainerName = "recordofsaleblobs";
public const string RecordOfSalesContainerName = "recordofsaleblobs";

public RoSWebhookEndpoint()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
<None Update="ERPFacadePayloadTestData\RoSPayloadTestData\LTC08_InvalidRoSConvertTrialToFullLicence.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ERPFacadePayloadTestData\RoSPayloadTestData\LTC09_InValidLTCwithNoCorrelationID.json">
<None Update="ERPFacadePayloadTestData\RoSPayloadTestData\LTC09_InvalidLTCwithNoCorrelationID.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ERPFacadePayloadTestData\RoSPayloadTestData\RoS13_ValidLastPayloadForMerging.json">
Expand Down

0 comments on commit da01d2a

Please sign in to comment.