mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Fix test
This commit is contained in:
parent
5c43ca957a
commit
a67af0faf5
1 changed files with 1 additions and 1 deletions
|
|
@ -1115,7 +1115,7 @@ public class NotebookTest implements JobListenerFactory{
|
|||
notebook.getNotebookAuthorization().setOwners(note2.getId(), Sets.newHashSet("user2"));
|
||||
notebook.getNotebookAuthorization().setWriters(note2.getId(), Sets.newHashSet("user2"));
|
||||
notebook.getNotebookAuthorization().setReaders(note2.getId(), Sets.newHashSet("user2"));
|
||||
notebook.getNotebookAuthorization().setRunners(note1.getId(), Sets.newHashSet("user2"));
|
||||
notebook.getNotebookAuthorization().setRunners(note2.getId(), Sets.newHashSet("user2"));
|
||||
assertEquals(0, notebook.getAllNotes(Sets.newHashSet("anonymous")).size());
|
||||
assertEquals(1, notebook.getAllNotes(Sets.newHashSet("user1")).size());
|
||||
assertEquals(1, notebook.getAllNotes(Sets.newHashSet("user2")).size());
|
||||
|
|
|
|||
Loading…
Reference in a new issue