Check the user published time.
This commit is contained in:
parent
36b4705d2b
commit
e39acf4cf6
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ function assertUserFederation(
|
||||||
expect(userOne.actor_id).toBe(userTwo.actor_id);
|
expect(userOne.actor_id).toBe(userTwo.actor_id);
|
||||||
expect(userOne.avatar).toBe(userTwo.avatar);
|
expect(userOne.avatar).toBe(userTwo.avatar);
|
||||||
expect(userOne.banner).toBe(userTwo.banner);
|
expect(userOne.banner).toBe(userTwo.banner);
|
||||||
|
expect(userOne.published).toBe(userTwo.published);
|
||||||
}
|
}
|
||||||
|
|
||||||
test('Create user', async () => {
|
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 searchBeta = await searchForUser(beta, apShortname);
|
||||||
let userOnBeta = searchBeta.users[0];
|
let userOnBeta = searchBeta.users[0];
|
||||||
assertUserFederation(userOnAlpha, userOnBeta);
|
assertUserFederation(userOnAlpha, userOnBeta);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue