Skip to content

Commit bcac9fc

Browse files
committed
Bump version to 1.0.0 and update test header order
Updated all project and module POM files, as well as the README, to reference version 1.0.0 instead of 0.0.4-beta. Also adjusted the order of Content-Type headers in ContentTypeTestControllerTest to match expected test behavior.
1 parent 14b2b7b commit bcac9fc

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ headers, and request/response body (including files) and publishes an event with
2727
<dependency>
2828
<groupId>com.davidrandoll</groupId>
2929
<artifactId>spring-web-captor</artifactId>
30-
<version>0.0.4-beta</version>
30+
<version>1.0.0</version>
3131
</dependency>
3232
```
3333

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<groupId>com.davidrandoll</groupId>
1212
<artifactId>spring-web-captor-parent</artifactId>
13-
<version>0.0.4-beta</version>
13+
<version>1.0.0</version>
1414
<packaging>pom</packaging>
1515
<name>Spring Web Captor Parent</name>
1616
<description>A Spring Web library that intercepts and captures HTTP request and response data including URI, path,

spring-web-captor-xml/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.davidrandoll</groupId>
88
<artifactId>spring-web-captor-parent</artifactId>
9-
<version>0.0.4-beta</version>
9+
<version>1.0.0</version>
1010
</parent>
1111

1212
<artifactId>spring-web-captor-xml</artifactId>

spring-web-captor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.davidrandoll</groupId>
88
<artifactId>spring-web-captor-parent</artifactId>
9-
<version>0.0.4-beta</version>
9+
<version>1.0.0</version>
1010
</parent>
1111

1212
<artifactId>spring-web-captor</artifactId>

spring-web-captor/src/test/java/com/davidrandoll/spring_web_captor/content_type/ContentTypeTestControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ void testNoContentTypeHeader() throws Exception {
168168
void testMultipleContentTypeHeaders() throws Exception {
169169
mockMvc.perform(post("/test/content-type/text")
170170
.content("some data")
171-
.header(HttpHeaders.CONTENT_TYPE, "application/json")
172-
.header(HttpHeaders.CONTENT_TYPE, "text/plain"))// duplicate header
171+
.header(HttpHeaders.CONTENT_TYPE, "text/plain")
172+
.header(HttpHeaders.CONTENT_TYPE, "application/json"))// duplicate header
173173
.andExpect(status().isUnsupportedMediaType()); // likely behavior
174174

175175
HttpRequestEvent req = eventCaptureListener.getRequestEvents().getFirst();

0 commit comments

Comments
 (0)