Adjusted remove rank test

This commit is contained in:
tastybento 2018-08-25 12:27:00 -07:00
parent cdbceeb241
commit 9e2c2c7dbc

View File

@ -55,7 +55,7 @@ public class RanksManagerTest {
*/ */
@Test @Test
public void testRemoveRank() { public void testRemoveRank() {
ranksManager.addRank("test.rank.reference2", 650); assertTrue(ranksManager.addRank("test.rank.reference2", 650));
assertTrue(ranksManager.removeRank("test.rank.reference2")); assertTrue(ranksManager.removeRank("test.rank.reference2"));
// Second time should fail // Second time should fail
assertFalse(ranksManager.removeRank("test.rank.reference2")); assertFalse(ranksManager.removeRank("test.rank.reference2"));