Skip to content

Commit

Permalink
Minor change in test
Browse files Browse the repository at this point in the history
  • Loading branch information
taglioni-r committed Jan 17, 2025
1 parent 474b5f1 commit 1e8b2b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/catalog-process/test/updateEServiceName.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,7 @@ describe("update eService name on published eservice", () => {
).rejects.toThrowError(eserviceWithoutValidDescriptors(eservice.id));
});
it("should throw eserviceWithoutValidDescriptors if the eservice has only a draft descriptor", async () => {
const descriptor: Descriptor = {
...getMockDescriptor(descriptorState.draft),
interface: getMockDocument(),
};
const descriptor = getMockDescriptor(descriptorState.draft);
const eservice: EService = {
...getMockEService(),
descriptors: [descriptor],
Expand Down

0 comments on commit 1e8b2b0

Please sign in to comment.