test for successful pac migration

This commit is contained in:
Peter Hormanns 2013-05-01 14:26:12 +02:00
parent c9f5e29792
commit 3cab6d2c7f

View File

@ -109,6 +109,9 @@ public class PacMigrationTest {
assertEquals(Pac.PAC_WEB, pacResultMap.get("basepac"));
Object compMapObj = pacResultMap.get("components");
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) {
fail(e.getMessage());
}