commitDialogTester.setCommitter(TestUtil.TESTCOMMITTER);
String commitMessage = commitDialogTester.getCommitMessage();
assertTrue(commitMessage.indexOf("Change-Id") > 0);
String newCommitMessage = "Change to be amended \n\n" + commitMessage;
commitDialogTester.setCommitMessage(newCommitMessage);
commitDialogTester.commit();
NoFilesToCommitPopup noFilesToCommitPopup = CommitDialogTester
.openCommitDialogExpectNoFilesToCommit(PROJ1);
repo.getConfig().setBoolean(ConfigConstants.CONFIG_GERRIT_SECTION,
null, ConfigConstants.CONFIG_KEY_CREATECHANGEID, false);
commitDialogTester = noFilesToCommitPopup.confirmPopup();