Replace ACCOUNT_DIFF_PREFERENCES table with Git backend (part2)
This is the second part in the series of migration of user preferences table to Git backend. Database migration is implemented, migrating the content of the diff account preferences table into Git backend, All-Users repository. Change-Id: I2245d0a3948fd3d65151b3774f7778842e95234a
This commit is contained in:
committed by
David Pursehouse
parent
d67791d059
commit
2a9692c8b2
@@ -22,20 +22,11 @@ import com.google.gerrit.acceptance.RestResponse;
|
||||
import com.google.gerrit.extensions.client.DiffPreferencesInfo;
|
||||
import com.google.gerrit.extensions.client.DiffPreferencesInfo.Whitespace;
|
||||
import com.google.gerrit.extensions.client.Theme;
|
||||
import com.google.gerrit.testutil.ConfigSuite;
|
||||
|
||||
import org.apache.http.HttpStatus;
|
||||
import org.eclipse.jgit.lib.Config;
|
||||
import org.junit.Test;
|
||||
|
||||
public class DiffPreferencesIT extends AbstractDaemonTest {
|
||||
@ConfigSuite.Config
|
||||
public static Config readFromGitConfig() {
|
||||
Config cfg = new Config();
|
||||
cfg.setBoolean("user", null, "readPrefsFromGit", true);
|
||||
return cfg;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getDiffPreferencesOfNonExistingAccount_NotFound()
|
||||
throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user