Skip to content
Snippets Groups Projects
Commit 2a24557d authored by tmortagne's avatar tmortagne
Browse files

XWIKI-11143: Add support for URL source in office viewer macro

* fix test
parent c150fb86
No related merge requests found
......@@ -163,7 +163,7 @@ public void configure() throws Exception
mocker.getInstance(AttachmentReferenceResolver.TYPE_STRING, "current");
when(attachmentReferenceResolver.resolve(STRING_ATTACHMENT_REFERENCE)).thenReturn(ATTACHMENT_REFERENCE);
this.resourceReferenceSerializer = mocker.getInstance(ResourceReferenceSerializer.class);
this.resourceReferenceSerializer = mocker.getInstance(ResourceReferenceTypeSerializer.class);
when(this.resourceReferenceSerializer.serialize(ATTACHMENT_RESOURCE_REFERENCE)).thenReturn(
STRING_ATTACHMENT_RESOURCE_REFERENCE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment