mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fixed more isCreated to isAllowed
This commit is contained in:
parent
cfcb6fdbe8
commit
1be096822d
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ public class NotebookRestApiTest extends AbstractTestRestApi {
|
|||
Note note1 = ZeppelinServer.notebook.createNote(anonymous);
|
||||
PostMethod post = httpPost("/notebook/" + note1.getId(), "");
|
||||
LOG.info("testCloneNote response\n" + post.getResponseBodyAsString());
|
||||
assertThat(post, isCreated());
|
||||
assertThat(post, isAllowed());
|
||||
Map<String, Object> resp = gson.fromJson(post.getResponseBodyAsString(), new TypeToken<Map<String, Object>>() {
|
||||
}.getType());
|
||||
String clonedNoteId = (String) resp.get("body");
|
||||
|
|
|
|||
Loading…
Reference in a new issue