Skip to content

Commit

Permalink
Update Tests/VTEX.Tests/Controllers/ProductSpecificationControllerTes…
Browse files Browse the repository at this point in the history
…ts.cs
  • Loading branch information
gitauto-ai[bot] authored Dec 11, 2024
1 parent babcfdb commit 1cbeea2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,4 @@ public async Task UpdateSpecification_ReturnsNoContentResult()
var result = await _controller.UpdateSpecification(productId, specificationId, specification, CancellationToken.None);

Check notice on line 61 in Tests/VTEX.Tests/Controllers/ProductSpecificationControllerTests.cs

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

Tests/VTEX.Tests/Controllers/ProductSpecificationControllerTests.cs#L61

Remove the unused local variable 'result'.

Check warning

Code scanning / Sonarcsharp (reported by Codacy)

Remove the unused local variable 'result'. Warning test

Remove the unused local variable 'result'.

// Assert
Assert.IsType<NoContentResult>(result);
}

0 comments on commit 1cbeea2

Please sign in to comment.