Skip to content

Commit

Permalink
Fix CI failed
Browse files Browse the repository at this point in the history
  • Loading branch information
mwkang committed Aug 11, 2016
1 parent f0eedeb commit fa7a194
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -139,7 +139,7 @@ public void addParagraphWithLastReplName() {

Note note = new Note(repo, interpreterFactory, jobListenerFactory, index, credentials, noteEventListener);
note.putDefaultReplName(); //set lastReplName
when(note.isBinding("spark")).thenReturn(true);
when(interpreterFactory.getInterpreter(note.getId(), "spark")).thenReturn(new MockInterpreter2(null));

Paragraph p = note.addParagraph();

Expand All @@ -155,7 +155,7 @@ public void insertParagraphWithLastReplName() {

Note note = new Note(repo, interpreterFactory, jobListenerFactory, index, credentials, noteEventListener);
note.putDefaultReplName(); //set lastReplName
when(note.isBinding("spark")).thenReturn(true);
when(interpreterFactory.getInterpreter(note.getId(), "spark")).thenReturn(new MockInterpreter2(null));

Paragraph p = note.insertParagraph(note.getParagraphs().size());

Expand Down

0 comments on commit fa7a194

Please sign in to comment.