Skip to content

Commit

Permalink
test: Fix filtering of DRM tests by key system
Browse files Browse the repository at this point in the history
When we turned on MediaCapabilities by default, a check for supported
key systems was removed from one of our tests.  This fixes it by
adding the check back in.

Change-Id: I3a90183b7dbaa40ed98c36a02b1baad31de40d6e
  • Loading branch information
joeyparrish committed Jul 9, 2021
1 parent 2250324 commit d027bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/media/drm_engine_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ describe('DrmEngine', () => {
return support['com.widevine.alpha'] || support['com.microsoft.playready'];
}

describe('basic flow', () => {
filterDescribe('basic flow', checkSupport, () => {
drmIt('gets a license and can play encrypted segments', async () => {
// The error callback should not be invoked.
onErrorSpy.and.callFake(fail);
Expand Down

0 comments on commit d027bb8

Please sign in to comment.