Skip to content

Commit 26e8d18

Browse files
committed
refactor(ContentSecurityPolicyHeaderWriterTest): use AssertJ instead of Hamcrest for assertions.
Part of #1035
1 parent 099d859 commit 26e8d18

File tree

3 files changed

+70
-158
lines changed

3 files changed

+70
-158
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ If you are programmer/sysadmin or you just feeling that you are able to run a lo
4343
* *Database migrations*: Liquibase
4444
* *Validation*: JSR-303 (Hibernate Validator)
4545
* *Logging*: Slf4j (Logback)
46-
* *Unit tests*: Groovy and Spock Framework (for Java code), jasmine (for JavaScript code)
46+
* *Unit tests*: Groovy with Spock Framework or JUnit (for Java code), jasmine (for JavaScript code)
4747
* *Integration tests*: Selenium3, RobotFramework, WireMock
48-
* *Others*: Lombok, Togglz, WebJars
48+
* *Others*: Lombok, Togglz, WebJars, AssertJ

pom.xml

-10
Original file line numberDiff line numberDiff line change
@@ -373,13 +373,6 @@
373373
<scope>test</scope>
374374
</dependency>
375375

376-
<dependency>
377-
<groupId>org.hamcrest</groupId>
378-
<artifactId>hamcrest-library</artifactId>
379-
<version>${hamcrest.version}</version>
380-
<scope>test</scope>
381-
</dependency>
382-
383376
<dependency>
384377
<groupId>org.seleniumhq.selenium</groupId>
385378
<artifactId>htmlunit-driver</artifactId>
@@ -482,9 +475,6 @@
482475
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
483476
<h2.version>1.4.199</h2.version>
484477

485-
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
486-
<hamcrest.version>1.3</hamcrest.version>
487-
488478
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
489479
<hibernate-validator.version>5.4.2.Final</hibernate-validator.version>
490480

0 commit comments

Comments
 (0)