Skip to content

Commit

Permalink
fixup test
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbarbin committed Aug 29, 2024
1 parent eb8a188 commit e2b723d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit e2b723d

Please sign in to comment.