]> BookStack Code Mirror - bookstack/commit
My Account: Updated and started adding to tests
authorDan Brown <redacted>
Thu, 19 Oct 2023 13:18:42 +0000 (14:18 +0100)
committerDan Brown <redacted>
Thu, 19 Oct 2023 13:18:42 +0000 (14:18 +0100)
commitfabc854390abe2ac49d16ada34ec2d8000972cf5
treefa79b53ceca4e691d63a5bf8da6319a04e958b92
parent12946414b05930efca3f3e97970a25b94d16bf0c
My Account: Updated and started adding to tests

- Updated existing tests now affected by my-account changes.
- Updated some existing tests to more accuractly check the scenario.
- Updated some code styling in SocialController.
- Fixed redirects for social account flows to fit my-account.
- Added test for social account attaching.
- Added test for api token redirect handling.
14 files changed:
app/Access/Controllers/SocialController.php
app/Access/SocialAuthService.php
app/Api/UserApiTokenController.php
lang/en/settings.php
resources/views/users/account/layout.blade.php
resources/views/users/edit.blade.php
routes/web.php
tests/Actions/WebhookCallTest.php
tests/Auth/SocialAuthTest.php
tests/Permissions/RolePermissionsTest.php
tests/Uploads/ImageTest.php
tests/User/UserApiTokenTest.php
tests/User/UserMyAccountTest.php [new file with mode: 0644]
tests/User/UserPreferencesTest.php