X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Fuser-notifications.ts;h=4bc8084a1de5a1be7ff5740d85793ce1f97fb78e;hb=c55e3d7227fe1453869e309025996b9d75256d5d;hp=17edf5aa1789dd1456a3a52f971cc5c7dadac08f;hpb=a24bd1ed41b43790bab6ba789580bb4e85f07d85;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/user-notifications.ts b/server/tests/api/check-params/user-notifications.ts index 17edf5aa1..4bc8084a1 100644 --- a/server/tests/api/check-params/user-notifications.ts +++ b/server/tests/api/check-params/user-notifications.ts @@ -2,20 +2,18 @@ import 'mocha' import { io } from 'socket.io-client' +import { checkBadCountPagination, checkBadSortPagination, checkBadStartPagination } from '@server/tests/shared' +import { wait } from '@shared/core-utils' +import { HttpStatusCode, UserNotificationSetting, UserNotificationSettingValue } from '@shared/models' import { - checkBadCountPagination, - checkBadSortPagination, - checkBadStartPagination, cleanupTests, createSingleServer, makeGetRequest, makePostBodyRequest, makePutBodyRequest, PeerTubeServer, - setAccessTokensToServers, - wait -} from '@shared/extra-utils' -import { HttpStatusCode, UserNotificationSetting, UserNotificationSettingValue } from '@shared/models' + setAccessTokensToServers +} from '@shared/server-commands' describe('Test user notifications API validators', function () { let server: PeerTubeServer