chore: Update Spring to v3.0.6 (#23031)

Fixes [#1407](https://github.com/appsmithorg/appsmith-ee/issues/1407)

Co-authored-by: Parthvi Goswami <parthvigoswami@Parthvis-MacBook-Pro.local>
This commit is contained in:
Shrikant Sharat Kandula 2023-05-09 07:52:42 +05:30 committed by GitHub
parent 619ba6b9d6
commit 606959ec01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 17 deletions

View File

@ -86,10 +86,10 @@ describe("Import, Export and Fork application and validate data binding", functi
const url = anchor.prop("href");
cy.request(url).then(({ body, headers }) => {
expect(headers).to.have.property("content-type", "application/json");
expect(headers).to.have.property(
"content-disposition",
`attachment; filename*=UTF-8''${appName}.json`,
);
expect(headers)
.to.have.property("content-disposition")
.that.includes("attachment;")
.and.includes(`filename*=UTF-8''${appName}.json`);
cy.writeFile("cypress/fixtures/exportedApp.json", body, "utf-8");
cy.generateUUID().then((uid) => {
workspaceId = uid;

View File

@ -32,10 +32,10 @@ describe("Export application as a JSON file", function () {
const url = anchor.prop("href");
cy.request(url).then(({ headers }) => {
expect(headers).to.have.property("content-type", "application/json");
expect(headers).to.have.property(
"content-disposition",
`attachment; filename*=UTF-8''${appname}.json`,
);
expect(headers)
.to.have.property("content-disposition")
.that.includes("attachment;")
.and.includes(`filename*=UTF-8''${appname}.json`);
});
});
cy.LogOut();

View File

@ -25,10 +25,10 @@ describe("Workspace Import Application", function () {
const url = anchor.prop("href");
cy.request(url).then(({ body, headers }) => {
expect(headers).to.have.property("content-type", "application/json");
expect(headers).to.have.property(
"content-disposition",
`attachment; filename*=UTF-8''${appname}.json`,
);
expect(headers)
.to.have.property("content-disposition")
.that.includes("attachment;")
.and.includes(`filename*=UTF-8''${appname}.json`);
cy.writeFile("cypress/fixtures/exported-app.json", body, "utf-8");
cy.generateUUID().then((uid) => {

View File

@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.1</version>
<version>3.0.6</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
@ -26,10 +26,7 @@
<project.version>1.0-SNAPSHOT</project.version>
<!-- By default skip the dockerization step. Only activate if necessary -->
<skipDockerBuild>true</skipDockerBuild>
<spring-boot.version>3.0.1</spring-boot.version>
<!-- Required because Spring Boot v3.0.1 does not come with this version that solves a High priority CVE -->
<netty.version>4.1.86.Final</netty.version>
<log4j2.version>2.17.1</log4j2.version>
<spring-boot.version>3.0.6</spring-boot.version>
<h2.version>2.1.210</h2.version>
<testcontainers.version>1.17.3</testcontainers.version>
<mockito.version>4.4.0</mockito.version>