Skip to content

Commit 50b35e0

Browse files
committed
Test updates
1 parent a1279dd commit 50b35e0

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/org/labkey/test/tests/JavaClientApiTest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -674,9 +674,9 @@ public void testSaveRowsApiCommand() throws Exception
674674
Map.of("JerseyNumber", 19, "Team", "Seattle Mariners"),
675675
Map.of("JerseyNumber", 44, "Team", "New York Yankees")
676676
);
677-
Command command = new Command(CommandType.Update, schemaName, playersListName, rows);
678-
command.setAuditBehavior(BaseRowsCommand.AuditBehavior.DETAILED);
679-
command.setAuditUserComment("Traded Jay Buhner for Ken Phelps on July 21, 1988");
677+
Command command = new Command(CommandType.Update, schemaName, playersListName, rows)
678+
.setAuditBehavior(BaseRowsCommand.AuditBehavior.DETAILED)
679+
.setAuditUserComment("Traded Jay Buhner for Ken Phelps on July 21, 1988");
680680
saveCmd.addCommands(command);
681681

682682
// Alvin Davis retires
@@ -687,17 +687,17 @@ public void testSaveRowsApiCommand() throws Exception
687687
Map.of("Team", "Dodgers", "City", "Los Angeles"),
688688
Map.of("Team", "Giants", "City", "San Francisco")
689689
);
690-
command = new Command(CommandType.Update, schemaName, teamsListName, rows);
691-
command.setContainerPath(SUB_FOLDER_PATH);
692-
command.setSkipReselectRows(true);
690+
command = new Command(CommandType.Update, schemaName, teamsListName, rows)
691+
.setContainerPath(SUB_FOLDER_PATH)
692+
.setSkipReselectRows(true);
693693
saveCmd.addCommands(command);
694694

695695
// Some teams are relegated to history
696696
rows = List.of(Map.of("Team", "Expos"), Map.of("Team", "Pilots"));
697-
command = new Command(CommandType.Delete, schemaName, teamsListName, rows);
698-
command.setContainerPath(SUB_FOLDER_PATH);
699-
command.setAuditBehavior(BaseRowsCommand.AuditBehavior.DETAILED);
700-
command.setAuditUserComment("Expos and Pilots no longer play ball");
697+
command = new Command(CommandType.Delete, schemaName, teamsListName, rows)
698+
.setContainerPath(SUB_FOLDER_PATH)
699+
.setAuditBehavior(BaseRowsCommand.AuditBehavior.DETAILED)
700+
.setAuditUserComment("Expos and Pilots no longer play ball");
701701
saveCmd.addCommands(command);
702702

703703
// Act

0 commit comments

Comments
 (0)