Skip to content

Commit

Permalink
Rename test files to make them run
Browse files Browse the repository at this point in the history
The files should match the expected name pattern so that are executed
through maven.
  • Loading branch information
draperunner committed Apr 15, 2024
1 parent 90b65f8 commit 882c020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@
import org.junit.jupiter.api.Test;

import java.time.Clock;
import java.time.Instant;
import java.time.ZoneOffset;

import static no.digipost.sanitizing.internal.PolicyFactoryProvider.V2_IN_EFFECT;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertTrue;

class HtmlValidatorTestV1 {
class HtmlValidatorV1Test {

private final HtmlValidator V1_validator = new HtmlValidator(Clock.fixed(PolicyFactoryProvider.V2_IN_EFFECT.minusSeconds(1), ZoneOffset.UTC));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertTrue;

class HtmlValidatorTestV2 {
class HtmlValidatorV2Test {

private final HtmlValidator V2_validator = new HtmlValidator(Clock.fixed(PolicyFactoryProvider.V2_IN_EFFECT, ZoneOffset.UTC));

Expand Down

0 comments on commit 882c020

Please sign in to comment.