Skip to content

Commit

Permalink
Merge pull request #643 from baloghadamsoftware/NormalizationAfterVal…
Browse files Browse the repository at this point in the history
…idationFix

Quick fix for NormalizationAfterValidation
  • Loading branch information
h3xstream committed Jun 23, 2021
2 parents e09574e + ae8ab09 commit 460196e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 62 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import static org.mockito.Mockito.*;

public class NormalizeBeforeValidationTest extends BaseDetectorTest {
public class NormalizationAfterValidationTest extends BaseDetectorTest {

@Test
public void detectNormalizationAfterValidation() throws Exception {
Expand All @@ -40,7 +40,7 @@ public void detectNormalizationAfterValidation() throws Exception {

verify(reporter).doReportBug(
bugDefinition()
.bugType("NORMALIZE_BEFORE_VALIDATION")
.bugType("NORMALIZATION_AFTER_VALIDATION")
.inClass("NormalizeAfter")
.inMethod("validate")
.withPriority("Low")
Expand All @@ -63,7 +63,7 @@ public void detectNormalizationBeforeValidationAvoidFP() throws Exception {

verify(reporter, never()).doReportBug(
bugDefinition()
.bugType("NORMALIZE_BEFORE_VALIDATION")
.bugType("NORMALIZATION_AFTER_VALIDATION")
.inClass("NormalizeBefore")
.inMethod("validate")
.withPriority("Low")
Expand Down

0 comments on commit 460196e

Please sign in to comment.