Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mpro7 committed Jan 26, 2024
1 parent f153fbb commit 3765850
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/api/admin/projects/projects-endpoint.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ describe("ProjectsEndpoint", () => {
(response: ApiResponseData<ProjectRestrictedViewSettingsResponse>) => {

expect(response.body.settings.size).toEqual("!512,512");
expect(response.body.settings.watermark).toEqual("true");
expect(response.body.settings.watermark).toEqual(true);

done();
});
Expand All @@ -705,7 +705,7 @@ describe("ProjectsEndpoint", () => {
(response: ApiResponseData<ProjectRestrictedViewSettingsResponse>) => {

expect(response.body.settings.size).toEqual("!512,512");
expect(response.body.settings.watermark).toEqual("true");
expect(response.body.settings.watermark).toEqual(true);

done();
});
Expand All @@ -728,7 +728,7 @@ describe("ProjectsEndpoint", () => {
(response: ApiResponseData<ProjectRestrictedViewSettingsResponse>) => {

expect(response.body.settings.size).toEqual("!512,512");
expect(response.body.settings.watermark).toEqual("true");
expect(response.body.settings.watermark).toEqual(true);

done();
});
Expand All @@ -755,7 +755,7 @@ describe("ProjectsEndpoint", () => {
(response: ApiResponseData<ProjectRestrictedViewSettingsResponse>) => {

expect(response.body.settings.size).toEqual("!512,512");
expect(response.body.settings.watermark).toEqual("true");
expect(response.body.settings.watermark).toEqual(true);

done();
});
Expand Down Expand Up @@ -784,7 +784,7 @@ describe("ProjectsEndpoint", () => {
console.log(111111, response.body)

expect(response.body.settings.size).toEqual("!512,512");
expect(response.body.settings.watermark).toEqual("true");
expect(response.body.settings.watermark).toEqual(true);

done();
});
Expand All @@ -811,7 +811,7 @@ describe("ProjectsEndpoint", () => {
(response: ApiResponseData<ProjectRestrictedViewSettingsResponse>) => {

expect(response.body.settings.size).toEqual("!512,512");
expect(response.body.settings.watermark).toEqual("true");
expect(response.body.settings.watermark).toEqual(true);

done();
});
Expand Down

0 comments on commit 3765850

Please sign in to comment.