ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix tests
Chocobozzz2fa9c40e20ce
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.tsindex 5f23c80a20..1f67512974 100644--- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts+++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts@@ -36,7 +36,7 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit {super()this.resolutions = [- {+ {id: '0p',label: this.i18n('Audio-only')},diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.tsindex 14dd1b9b9f..f802658cfe 100644--- a/server/lib/activitypub/actor.ts+++ b/server/lib/activitypub/actor.ts@@ -177,7 +177,7 @@ async function updateActorAvatarInstance (actor: MActorDefault, info: AvatarInfoif (actor.Avatar) {// Don't update the avatar if the filename did not change- if (actor.Avatar.filename === info.name) return actor+ if (actor.Avatar.fileUrl === info.fileUrl) return actortry {await actor.Avatar.destroy({ transaction: t })diff --git a/server/tests/api/server/reverse-proxy.ts b/server/tests/api/server/reverse-proxy.tsindex 39b9fecc08..b6b33a884f 100644--- a/server/tests/api/server/reverse-proxy.ts+++ b/server/tests/api/server/reverse-proxy.ts@@ -103,8 +103,12 @@ describe('Test application behind a reverse proxy', function () {})it('Should rate limit signup', async function () {- for (let i = 0; i < 3; i++) {- await registerUser(server.url, 'test' + i, 'password')+ for (let i = 0; i < 10; i++) {+ try {+ await registerUser(server.url, 'test' + i, 'password')+ } catch {+ // empty+ }}await registerUser(server.url, 'test42', 'password', 429)