Rename TestAccount#getIdent to newIdent
Each time this method is called, it returns a new PersonIdent with a new timestamp. The other get* methods in this class also happen to return new instances, but this is essentially an implementation detail: all instances returned by those methods are equal and may be used interchangeably. Change-Id: Iff9b476bd7d2ac67160d3f54c36bd5b22b95c89b
This commit is contained in:
@@ -468,7 +468,7 @@ public abstract class AbstractNotificationTest extends AbstractDaemonTest {
|
||||
}
|
||||
requestScopeOperations.setApiUser(owner.id());
|
||||
repo = cloneProject(project, owner);
|
||||
PushOneCommit push = pushFactory.create(owner.getIdent(), repo);
|
||||
PushOneCommit push = pushFactory.create(owner.newIdent(), repo);
|
||||
result = push.to(ref);
|
||||
result.assertOkStatus();
|
||||
changeId = result.getChangeId();
|
||||
|
||||
Reference in New Issue
Block a user