NotificationMailFormatIT: Format with google-java-format
Change-Id: If178d8100e5e9e84fef235a33bd448f5afa4d17b
This commit is contained in:
parent
47689369e1
commit
f807aa70a9
@ -36,10 +36,7 @@ public class NotificationMailFormatIT extends AbstractDaemonTest {
|
||||
// Create change as admin and review as user
|
||||
PushOneCommit.Result r = createChange();
|
||||
setApiUser(user);
|
||||
gApi.changes()
|
||||
.id(r.getChangeId())
|
||||
.current()
|
||||
.review(ReviewInput.recommend());
|
||||
gApi.changes().id(r.getChangeId()).current().review(ReviewInput.recommend());
|
||||
|
||||
// Check that admin has received only plaintext content
|
||||
assertThat(sender.getMessages()).hasSize(1);
|
||||
@ -60,10 +57,7 @@ public class NotificationMailFormatIT extends AbstractDaemonTest {
|
||||
// Create change as admin and review as user
|
||||
PushOneCommit.Result r = createChange();
|
||||
setApiUser(user);
|
||||
gApi.changes()
|
||||
.id(r.getChangeId())
|
||||
.current()
|
||||
.review(ReviewInput.recommend());
|
||||
gApi.changes().id(r.getChangeId()).current().review(ReviewInput.recommend());
|
||||
|
||||
// Check that admin has received both HTML and plaintext content
|
||||
assertThat(sender.getMessages()).hasSize(1);
|
||||
|
Loading…
Reference in New Issue
Block a user