mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
change test case in notebooksecurity
This commit is contained in:
parent
1be096822d
commit
0f2f5bd746
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ public class NotebookSecurityRestApiTest extends AbstractTestRestApi {
|
|||
private String createNoteForUser(String noteName, String user, String pwd) throws IOException {
|
||||
String jsonRequest = "{\"name\":\"" + noteName + "\"}";
|
||||
PostMethod post = httpPost("/notebook/", jsonRequest, user, pwd);
|
||||
assertThat("test note create method:", post, isCreated());
|
||||
assertThat("test note create method:", post, isAllowed());
|
||||
Map<String, Object> resp = gson.fromJson(post.getResponseBodyAsString(), new TypeToken<Map<String, Object>>() {
|
||||
}.getType());
|
||||
post.releaseConnection();
|
||||
|
|
|
|||
Loading…
Reference in a new issue