Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewthebird committed May 28, 2019
1 parent 2e4123a commit f7e1b94
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -100,11 +100,16 @@ public void testAddDescriptionFile() throws URISyntaxException, MojoFailureExcep
when(apiSource.getInfo()).thenReturn(new Info());

// act
AbstractDocumentSource externalDocsSource = new AbstractDocumentSource(log, apiSource) {
AbstractDocumentSource externalDocsSource = new AbstractDocumentSource(log, apiSource, "UTF-8") {
@Override
protected ClassSwaggerReader resolveApiReader() throws GenerateException {
return null;
}

@Override
protected AbstractReader createReader() {
return null;
}
};

// assert
Expand Down

0 comments on commit f7e1b94

Please sign in to comment.