From e39acf4cf693bcfcbdb90bf0708c6880bf1a4553 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 17 Sep 2020 14:11:56 -0500 Subject: [PATCH] Check the user published time. --- api_tests/src/user.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api_tests/src/user.spec.ts b/api_tests/src/user.spec.ts index a1f8c119a..bfd56fcbd 100644 --- a/api_tests/src/user.spec.ts +++ b/api_tests/src/user.spec.ts @@ -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); -}); \ No newline at end of file +});