File tree Expand file tree Collapse file tree
src/test/java/edu/harvard/iq/dataverse/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ public void testRetrieveMyDataAsJsonString() throws InterruptedException {
113113 // Test getting a list of collections that the user can add datasets to
114114 @ Test
115115 public void testRetrieveMyDataCollections () throws InterruptedException {
116- int rootCount = 1 ; // everyone has access to this dataverse
117116 List <Map <String , String >> items ;
118117 Response createDataverseResponse ;
119118 Response retrieveMyCollectionListResponse ;
@@ -140,7 +139,7 @@ public void testRetrieveMyDataCollections() throws InterruptedException {
140139 // Get the base number of collections since it's not always 1 for root.
141140 // There may be others left from another test that everyone can access
142141 retrieveMyCollectionListResponse = UtilIT .retrieveMyCollectionList (User1ApiToken , null );
143- rootCount = retrieveMyCollectionListResponse .getBody ().jsonPath ().getList ("data.items" ).size ();
142+ int rootCount = retrieveMyCollectionListResponse .getBody ().jsonPath ().getList ("data.items" ).size ();
144143
145144 // User1 creates 15 Dataverses and adds a role to each allowing User2 access
146145 List <String > dataverses = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments