]> BookStack Code Mirror - bookstack/commit
Create additional test helper classes
authorDan Brown <redacted>
Thu, 15 Dec 2022 12:29:10 +0000 (12:29 +0000)
committerDan Brown <redacted>
Thu, 15 Dec 2022 12:29:10 +0000 (12:29 +0000)
commitf844ae0902e3fa7d17ce1631058531c9f3b06ecd
tree9d0aa2e3e5ac76d3dc0e9af54fcb2a4ebf503541
parentd54ea1b3ede4fe6ea3ee04108503c62f427fad3f
Create additional test helper classes

Following recent similar actions done for entities.
Required at this stage to provider better & cleaner helpers
for common user and permission actions to built out permission testing.
66 files changed:
tests/Actions/AuditLogTest.php
tests/Actions/WebhookCallTest.php
tests/Actions/WebhookFormatTesting.php
tests/Actions/WebhookManagementTest.php
tests/Api/ApiAuthTest.php
tests/Api/AttachmentsApiTest.php
tests/Api/BooksApiTest.php
tests/Api/ChaptersApiTest.php
tests/Api/PagesApiTest.php
tests/Api/RecycleBinApiTest.php
tests/Api/TestsApi.php
tests/Api/UsersApiTest.php
tests/Auth/AuthTest.php
tests/Auth/GroupSyncServiceTest.php
tests/Auth/LdapTest.php
tests/Auth/LoginAutoInitiateTest.php
tests/Auth/MfaConfigurationTest.php
tests/Auth/MfaVerificationTest.php
tests/Auth/OidcTest.php
tests/Auth/ResetPasswordTest.php
tests/Auth/Saml2Test.php
tests/Auth/SocialAuthTest.php
tests/Auth/UserInviteTest.php
tests/Commands/ClearActivityCommandTest.php
tests/Commands/ClearViewsCommandTest.php
tests/Commands/CopyShelfPermissionsCommandTest.php
tests/Entity/BookShelfTest.php
tests/Entity/BookTest.php
tests/Entity/ChapterTest.php
tests/Entity/ConvertTest.php
tests/Entity/EntityAccessTest.php
tests/Entity/EntitySearchTest.php
tests/Entity/ExportTest.php
tests/Entity/PageContentTest.php
tests/Entity/PageDraftTest.php
tests/Entity/PageRevisionTest.php
tests/Entity/PageTemplateTest.php
tests/Entity/PageTest.php
tests/Entity/SortTest.php
tests/Entity/TagTest.php
tests/ErrorTest.php
tests/FavouriteTest.php
tests/Helpers/EntityProvider.php
tests/Helpers/PermissionsProvider.php [new file with mode: 0644]
tests/Helpers/UserRoleProvider.php [new file with mode: 0644]
tests/HomepageTest.php
tests/LanguageTest.php
tests/Permissions/EntityPermissionsTest.php
tests/Permissions/ExportPermissionsTest.php
tests/Permissions/RolesTest.php
tests/Permissions/Scenarios/EntityRolePermissions.php
tests/PublicActionTest.php
tests/References/ReferencesTest.php
tests/Settings/RecycleBinTest.php
tests/Settings/RegenerateReferencesTest.php
tests/Settings/TestEmailTest.php
tests/TestCase.php
tests/ThemeTest.php
tests/Uploads/AttachmentTest.php
tests/Uploads/DrawioTest.php
tests/Uploads/ImageTest.php
tests/User/UserApiTokenTest.php
tests/User/UserManagementTest.php
tests/User/UserPreferencesTest.php
tests/User/UserProfileTest.php
tests/User/UserSearchTest.php