mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-08-22 12:42:52 +02:00
Fix broken test
This commit is contained in:
parent
d83cc2b9f8
commit
53f27a66a3
|
@ -330,7 +330,7 @@ public class DatabaseTest {
|
|||
}
|
||||
};
|
||||
backup.init();
|
||||
ManageUtils.clearAndCopy(backup, db, db.getSavedUUIDs());
|
||||
ManageUtils.clearAndCopy(backup, db);
|
||||
Set<UUID> savedUUIDs = backup.getSavedUUIDs();
|
||||
assertTrue("Didn't contain 1", savedUUIDs.contains(data.getUuid()));
|
||||
assertTrue("Didn't contain 2", savedUUIDs.contains(data2.getUuid()));
|
||||
|
@ -368,8 +368,8 @@ public class DatabaseTest {
|
|||
}
|
||||
};
|
||||
backup.init();
|
||||
ManageUtils.clearAndCopy(backup, db, db.getSavedUUIDs());
|
||||
ManageUtils.clearAndCopy(db, backup, backup.getSavedUUIDs());
|
||||
ManageUtils.clearAndCopy(backup, db);
|
||||
ManageUtils.clearAndCopy(db, backup);
|
||||
Set<UUID> savedUUIDs = db.getSavedUUIDs();
|
||||
assertTrue("Didn't contain 1", savedUUIDs.contains(data.getUuid()));
|
||||
assertTrue("Didn't contain 2", savedUUIDs.contains(data2.getUuid()));
|
||||
|
|
Loading…
Reference in New Issue
Block a user