From e2b723d45a11e2c10abc9485782f9941fc26ec9d Mon Sep 17 00:00:00 2001 From: Florian Barbin Date: Thu, 29 Aug 2024 11:51:34 +0200 Subject: [PATCH] fixup test --- .../services/selection/SelectionDescriptionProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/selection/SelectionDescriptionProvider.java b/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/selection/SelectionDescriptionProvider.java index b8ff25751be..9a8be5f677e 100644 --- a/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/selection/SelectionDescriptionProvider.java +++ b/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/selection/SelectionDescriptionProvider.java @@ -98,9 +98,9 @@ private View createView() { eObject.eAdapters().add(new IDAdapter(UUID.nameUUIDFromBytes(EcoreUtil.getURI(eObject).toString().getBytes()))); }); - String resourcePath = UUID.nameUUIDFromBytes("ModelOperationDiagramDescription".getBytes()).toString(); + String resourcePath = UUID.nameUUIDFromBytes("SelectionDescriptionDiagramDescription".getBytes()).toString(); JsonResource resource = new JSONResourceFactory().createResourceFromPath(resourcePath); - resource.eAdapters().add(new ResourceMetadataAdapter("ModelOperationDiagramDescription")); + resource.eAdapters().add(new ResourceMetadataAdapter("SelectionDescriptionDiagramDescription")); resource.getContents().add(unsynchronizedView); return unsynchronizedView; @@ -133,7 +133,7 @@ private DiagramDescription createDiagramDescription() { this.diagramDescription = new DiagramDescriptionBuilder() .name("Diagram") - .titleExpression("aql:'ModelOperationDiagram'") + .titleExpression("aql:'SelectionDescriptionDiagram'") .domainType("papaya:Project") .nodeDescriptions(nodeDescription) .edgeDescriptions()