test for successful pac migration
This commit is contained in:
parent
c9f5e29792
commit
3cab6d2c7f
@ -109,6 +109,9 @@ public class PacMigrationTest {
|
|||||||
assertEquals(Pac.PAC_WEB, pacResultMap.get("basepac"));
|
assertEquals(Pac.PAC_WEB, pacResultMap.get("basepac"));
|
||||||
Object compMapObj = pacResultMap.get("components");
|
Object compMapObj = pacResultMap.get("components");
|
||||||
assertTrue(compMapObj instanceof Map<?,?>);
|
assertTrue(compMapObj instanceof Map<?,?>);
|
||||||
|
Map<String,String> compMap = (Map<String, String>) compMapObj;
|
||||||
|
assertEquals("512", compMap.get("QUOTA"));
|
||||||
|
assertEquals("5", compMap.get("TRAFFIC"));
|
||||||
} catch (XmlRpcException e) {
|
} catch (XmlRpcException e) {
|
||||||
fail(e.getMessage());
|
fail(e.getMessage());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user