Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dompuiu committed Aug 21, 2024
1 parent 9ab0604 commit a3cfb3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/functional/specs/MediaCollection/MA1.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const assertSessionStartedInAutoPingMode = async (alloy) => {
};
},
});
await responseStatus(networkLogger.edgeEndpointLogs.requests, 200);
await responseStatus(networkLogger.edgeEndpointLogs.requests, [200, 207]);
await t.expect(networkLogger.edgeEndpointLogs.requests.length).eql(1);

const createSession = networkLogger.edgeEndpointLogs.requests[0];
Expand Down
2 changes: 1 addition & 1 deletion test/functional/specs/MediaCollection/MA2.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test.meta({

const assertSessionStarted = async () => {
await t.expect(networkLogger.edgeEndpointLogs.count(() => true)).gte(1);
await responseStatus(networkLogger.edgeEndpointLogs.requests, 200);
await responseStatus(networkLogger.edgeEndpointLogs.requests, [200, 207]);
await t.expect(networkLogger.edgeEndpointLogs.requests.length).eql(1);

const createSession = networkLogger.edgeEndpointLogs.requests[0];
Expand Down
2 changes: 1 addition & 1 deletion test/functional/specs/MediaCollection/MA3.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const assertSessionStarted = async (alloy) => {
},
},
});
await responseStatus(networkLogger.edgeEndpointLogs.requests, 200);
await responseStatus(networkLogger.edgeEndpointLogs.requests, [200, 207]);
await t.expect(networkLogger.edgeEndpointLogs.requests.length).eql(1);

const createSession = networkLogger.edgeEndpointLogs.requests[0];
Expand Down

0 comments on commit a3cfb3b

Please sign in to comment.