Skip to content

Commit ca5f5a7

Browse files
Can't use getFirst() yet
1 parent 19c85e6 commit ca5f5a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/org/labkey/test/tests/remoteapi/BulkUpdateGroupApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ public void testCreateUserWithoutAddUserPermission() throws Exception
554554

555555
List<String> errors = collectErrors(response);
556556
assertEquals("Expected exactly one member error:\n" + String.join("\n", errors), 1, errors.size());
557-
assertTrue("Expected AddUserPermission error. Actual error: " + errors.getFirst(), errors.getFirst().contains("do not have permission to create new users"));
557+
assertTrue("Expected AddUserPermission error. Actual error: " + errors.get(0), errors.get(0).contains("do not have permission to create new users"));
558558
}
559559
finally
560560
{

0 commit comments

Comments
 (0)