diff options
Diffstat (limited to 'server/tests/api/users/users.ts')
-rw-r--r-- | server/tests/api/users/users.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts index 318ff832a..085d9d870 100644 --- a/server/tests/api/users/users.ts +++ b/server/tests/api/users/users.ts | |||
@@ -597,6 +597,7 @@ describe('Test users', function () { | |||
597 | expect(user.account.description).to.equal('my super description updated') | 597 | expect(user.account.description).to.equal('my super description updated') |
598 | expect(user.noWelcomeModal).to.be.false | 598 | expect(user.noWelcomeModal).to.be.false |
599 | expect(user.noInstanceConfigWarningModal).to.be.false | 599 | expect(user.noInstanceConfigWarningModal).to.be.false |
600 | expect(user.noAccountSetupWarningModal).to.be.false | ||
600 | }) | 601 | }) |
601 | 602 | ||
602 | it('Should be able to update my theme', async function () { | 603 | it('Should be able to update my theme', async function () { |
@@ -612,12 +613,14 @@ describe('Test users', function () { | |||
612 | await server.users.updateMe({ | 613 | await server.users.updateMe({ |
613 | token: userToken, | 614 | token: userToken, |
614 | noInstanceConfigWarningModal: true, | 615 | noInstanceConfigWarningModal: true, |
615 | noWelcomeModal: true | 616 | noWelcomeModal: true, |
617 | noAccountSetupWarningModal: true | ||
616 | }) | 618 | }) |
617 | 619 | ||
618 | const user = await server.users.getMyInfo({ token: userToken }) | 620 | const user = await server.users.getMyInfo({ token: userToken }) |
619 | expect(user.noWelcomeModal).to.be.true | 621 | expect(user.noWelcomeModal).to.be.true |
620 | expect(user.noInstanceConfigWarningModal).to.be.true | 622 | expect(user.noInstanceConfigWarningModal).to.be.true |
623 | expect(user.noAccountSetupWarningModal).to.be.true | ||
621 | }) | 624 | }) |
622 | }) | 625 | }) |
623 | 626 | ||