|
@@ -39,4 +39,16 @@ class relation_helperTest extends PHPUnit_Framework_TestCase
|
|
|
relation_helper::onLogin(36490);
|
|
|
relation_helper::onLogin(36511);
|
|
|
}
|
|
|
+
|
|
|
+ public function testUpContactsC()
|
|
|
+ {
|
|
|
+ try
|
|
|
+ {
|
|
|
+ $contacts = '%5B%22178-0211-8910%22%2C%22182-6227-3057%22%2C%22189-6195-0030%22%5D';
|
|
|
+ $contacts = session_helper::parse_contacts($contacts);
|
|
|
+ relation_helper::onUpContacts(36511,'18612396521','秦梦洁',$contacts);
|
|
|
+ } catch (Exception $ex) {
|
|
|
+ echo $ex->getMessage();
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|