improved JUnit test
This commit is contained in:
parent
ed482f9675
commit
3ec5bf03c5
|
@ -170,15 +170,19 @@ public class WorkspaceInstance {
|
|||
public void getSharedFolderMembers() {
|
||||
System.out.println("Getting getSharedFolderMembers");
|
||||
try {
|
||||
|
||||
String sharedFolderId = "7e3c6636-927c-4139-9fcc-64986ea70cbf"; //devNext
|
||||
|
||||
String sharedFolderId = "7e3c6636-927c-4139-9fcc-64986ea70cbf"; // devNext
|
||||
sharedFolderId = "c141d53d-4cae-4bfc-a6f7-9b8bbd8c0e2b"; //NextNext
|
||||
SCOPE = "/gcube";
|
||||
TOKEN = "";
|
||||
TOKEN = "";
|
||||
storageHubWrapper = new StorageHubWrapper(SCOPE, TOKEN);
|
||||
List<Member> listMembers = storageHubWrapper.getWorkspace().getSharedFolderMembers(sharedFolderId);
|
||||
|
||||
System.out.println("List: " + listMembers);
|
||||
System.out.println("Foud " + listMembers.size() + " member/s");
|
||||
|
||||
for (Member member : listMembers) {
|
||||
System.out.println(member);
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Reference in New Issue