+
+test('Set avatar and banner, check that they are federated', async () => {
+ let avatar = 'https://image.flaticon.com/icons/png/512/35/35896.png';
+ let banner = 'https://image.flaticon.com/icons/png/512/36/35896.png';
+ let form: UserSettingsForm = {
+ show_nsfw: false,
+ theme: "",
+ default_sort_type: 0,
+ default_listing_type: 0,
+ lang: "",
+ avatar,
+ banner,
+ preferred_username: "user321",
+ show_avatars: false,
+ send_notifications_to_email: false,
+ auth,
+ }
+ let settingsRes = await saveUserSettings(alpha, form);
+
+ let searchAlpha = await searchForUser(beta, apShortname);
+ let userOnAlpha = searchAlpha.users[0];
+ let searchBeta = await searchForUser(beta, apShortname);
+ let userOnBeta = searchBeta.users[0];
+ assertUserFederation(userOnAlpha, userOnBeta);
+});
\ No newline at end of file