mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2025-09-10 19:48:29 +08:00
20
pom.xml
20
pom.xml
@@ -96,12 +96,13 @@
|
||||
<lombok.version>1.18.12</lombok.version>
|
||||
<main.basedir>${basedir}/../..</main.basedir>
|
||||
<docker.image.prefix>apacherocketmq</docker.image.prefix>
|
||||
<spring.boot.version>2.2.2.RELEASE</spring.boot.version>
|
||||
<spring.boot.version>2.6.0</spring.boot.version>
|
||||
<mockito-inline.version>3.3.3</mockito-inline.version>
|
||||
<jaxb-api.version>2.3.1</jaxb-api.version>
|
||||
<commons-pool2.version>2.4.3</commons-pool2.version>
|
||||
<easyexcel.version>2.2.10</easyexcel.version>
|
||||
<asm.version>4.2</asm.version>
|
||||
<junit.version>4.12</junit.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@@ -125,6 +126,17 @@
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-collections</groupId>
|
||||
@@ -246,6 +258,12 @@
|
||||
<artifactId>asm</artifactId>
|
||||
<version>${asm.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<build>
|
||||
|
@@ -132,7 +132,7 @@ public class DlqMessageControllerTest extends BaseControllerTest {
|
||||
// 2、export dlqMessage success
|
||||
perform = mockMvc.perform(requestBuilder);
|
||||
perform.andExpect(status().is(200))
|
||||
.andExpect(content().contentType("application/vnd.ms-excel"));
|
||||
.andExpect(content().contentType("application/vnd.ms-excel;charset=utf-8"));
|
||||
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ public class DlqMessageControllerTest extends BaseControllerTest {
|
||||
requestBuilder.content(JSON.toJSONString(dlqMessages));
|
||||
perform = mockMvc.perform(requestBuilder);
|
||||
perform.andExpect(status().is(200))
|
||||
.andExpect(content().contentType("application/vnd.ms-excel"));
|
||||
.andExpect(content().contentType("application/vnd.ms-excel;charset=utf-8"));
|
||||
}
|
||||
|
||||
@Override protected Object getTestController() {
|
||||
|
Reference in New Issue
Block a user