AbstractDaemonTest: Remove deprecated setApiUser methods
Change-Id: I4de86d030afde4ee09de1afa4217d98f33da1db2
diff --git a/java/com/google/gerrit/acceptance/AbstractDaemonTest.java b/java/com/google/gerrit/acceptance/AbstractDaemonTest.java
index 6572816..8d05ea1 100644
--- a/java/com/google/gerrit/acceptance/AbstractDaemonTest.java
+++ b/java/com/google/gerrit/acceptance/AbstractDaemonTest.java
@@ -789,21 +789,6 @@
return atrScope.get();
}
- @Deprecated // Tests should inject and use their own RequestScopeOperations.
- protected Context resetCurrentApiUser() {
- return requestScopeOperations.resetCurrentApiUser();
- }
-
- @Deprecated // Tests should inject and use their own RequestScopeOperations.
- protected Context setApiUser(TestAccount account) {
- return requestScopeOperations.setApiUser(account.getId());
- }
-
- @Deprecated // Tests should inject and use their own RequestScopeOperations.
- protected Context setApiUserAnonymous() {
- return requestScopeOperations.setApiUserAnonymous();
- }
-
protected Account getAccount(Account.Id accountId) {
return getAccountState(accountId).getAccount();
}