Moved the update_user_info code into user_update_info

This commit is contained in:
Jan Vidar Krey
2009-05-16 12:32:48 +02:00
parent 078470ce64
commit 326fcc467c
4 changed files with 47 additions and 41 deletions

View File

@@ -512,10 +512,8 @@ EXO_TEST(adc_message_update_3, {
return updater2 != NULL;
});
extern void update_user_info(struct hub_info* hub, struct user* u, struct adc_message* cmd);
EXO_TEST(adc_message_update_4, {
update_user_info(g_user->hub, g_user, updater2);
user_update_info(g_user, updater2);
return strlen(g_user->info->cache) == 159;
});