Browse Source

Check the user published time.

published_user_time
Dessalines 5 months ago
parent
commit
e39acf4cf6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      api_tests/src/user.spec.ts

+ 2
- 1
api_tests/src/user.spec.ts 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);
});
});

Loading…
Cancel
Save