Skip to content

Commit

Permalink
SDK-3368: Add missing feature flag to tests (#2528)
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux authored Oct 15, 2024
1 parent fe2b35b commit a788a8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e/node/resource.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ describe("Authenticated end-to-end", () => {
expect(error.problemDetails.type).toBe(DEFAULT_TYPE);
expect(error.problemDetails.title).toBe("Not Found");
expect(error.problemDetails.status).toBe(404);
expect(error.problemDetails.detail).toBe("Resource not found");
expect(error.problemDetails.instance).toBeDefined();
if (env?.features?.PROBLEM_DETAILS === "true") {
expect(error.problemDetails.detail).toBe("Resource not found");
expect(error.problemDetails.instance).toBeDefined();
}
});

it("can create, delete, and differentiate between RDF and non-RDF Resources using a Blob from the node Buffer package", async () => {
Expand Down

0 comments on commit a788a8f

Please sign in to comment.