@Test
public void testSortingFolderUpdate() {
//set the sortingFolder to null for existing users
User user = newUser(ID, TOKEN, EMAIL, SECRET, NAME);
user.sortingFolder = null;
user.save();
//now lets get the user from the DB
User newUser = User.findById(AccountType.DROPBOX, ID);
//verify that the sortingFolder is set to the old value - /Sortbox
assertEquals("Did not find expected sortingFolder for old users!",
Dropbox.getOldSortboxPath(),