Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix tests

Chocobozzz140b008660f3
diff --git a/packages/tests/src/api/check-params/live.ts b/packages/tests/src/api/check-params/live.ts
index ed195dd70a..38eee58ea0 100644
--- a/packages/tests/src/api/check-params/live.ts
+++ b/packages/tests/src/api/check-params/live.ts
@@ -603,7 +603,6 @@ describe('Test video lives API validator', function () {
await command.update({ videoId: video.id, fields: { permanentLive: false }, expectedStatus: HttpStatusCode.BAD_REQUEST_400 })
await stopFfmpeg(ffmpegCommand)
-
await command.waitUntilWaiting({ videoId: video.id })
})
@@ -628,6 +627,7 @@ describe('Test video lives API validator', function () {
})
await stopFfmpeg(ffmpegCommand)
+ await command.waitUntilWaiting({ videoId: video.id })
})
it('Should fail to stream twice in the save live', async function () {
diff --git a/packages/tests/src/api/users/registrations.ts b/packages/tests/src/api/users/registrations.ts
index 2031196d6f..417000167e 100644
--- a/packages/tests/src/api/users/registrations.ts
+++ b/packages/tests/src/api/users/registrations.ts
@@ -266,7 +266,7 @@ describe('Test registrations', function () {
expect(me.videoChannels[0].displayName).to.equal('Main user2 channel')
expect(me.role.id).to.equal(UserRole.USER)
expect(me.email).to.equal('[email protected]')
- expect(me.language).to.equal('fr')
+ expect(me.language).to.be.null
})
it('Should have created the appropriate attributes for user 3', async function () {
@@ -279,7 +279,7 @@ describe('Test registrations', function () {
expect(me.videoChannels[0].displayName).to.equal('my user 3 channel')
expect(me.role.id).to.equal(UserRole.USER)
expect(me.email).to.equal('[email protected]')
- expect(me.language).to.equal('fr')
+ expect(me.language).to.be.null
})
it('Should list these accepted/rejected registration requests', async function () {