Skip to content

Commit df423d3

Browse files
committed
Fixed NotebookRestApiTest
1 parent b151366 commit df423d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zeppelin-server/src/test/java/org/apache/zeppelin/rest/NotebookRestApiTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public void testPermissions() throws IOException {
134134

135135
@Test
136136
public void testGetNoteParagraphJobStatus() throws IOException {
137-
Note note1 = ZeppelinServer.notebook.createNote(null);
137+
Note note1 = ZeppelinServer.notebook.createNote(anonymous);
138138
note1.addParagraph();
139139

140140
String paragraphId = note1.getLastParagraph().getId();
@@ -150,7 +150,7 @@ public void testGetNoteParagraphJobStatus() throws IOException {
150150
assertEquals(paragraphStatus.get("status"), "READY");
151151

152152
//cleanup
153-
ZeppelinServer.notebook.removeNote(note1.getId(), null);
153+
ZeppelinServer.notebook.removeNote(note1.getId(), anonymous);
154154

155155
}
156156

0 commit comments

Comments
 (0)