Check the user published time.

This commit is contained in:
Dessalines 2020-09-17 14:11:56 -05:00
parent 36b4705d2b
commit e39acf4cf6

View file

@ -25,6 +25,7 @@ function assertUserFederation(
expect(userOne.actor_id).toBe(userTwo.actor_id);
expect(userOne.avatar).toBe(userTwo.avatar);
expect(userOne.banner).toBe(userTwo.banner);
expect(userOne.published).toBe(userTwo.published);
}
test('Create user', async () => {
@ -74,4 +75,4 @@ test('Set avatar and banner, check that they are federated', async () => {
let searchBeta = await searchForUser(beta, apShortname);
let userOnBeta = searchBeta.users[0];
assertUserFederation(userOnAlpha, userOnBeta);
});
});