34
34
#include "account_schema.h"
40
40
void AccountTest::TestAddRemove()
42
42
DEBUG("-------------------- %s --------------------\n", __PRETTY_FUNCTION__);
45
45
details[CONFIG_ACCOUNT_TYPE] = "SIP";
46
46
details[CONFIG_ACCOUNT_ENABLE] = "false";
47
47
details[CONFIG_LOCAL_INTERFACE] = "default";
48
48
details[CONFIG_LOCAL_PORT] = "5060";
50
50
std::string accountId = Manager::instance().addAccount(details);
52
52
CPPUNIT_ASSERT(Manager::instance().accountExists(accountId));
54
54
Manager::instance().removeAccount(accountId);