Skip to content

Commit

Permalink
fix(lib): privatize player video build methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Oct 18, 2023
1 parent defb04a commit 071555f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/apivideo_player_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ void main() {
FakeApiVideoPlayerPlatform();
ApiVideoPlayerPlatform.instance = fakeVideoPlayerPlatform;

final ApiVideoPlayerController controller =
ApiVideoPlayerController(videoOptions: VideoOptions(videoId: "test", type: VideoType.vod));
final ApiVideoPlayerController controller = ApiVideoPlayerController(
videoOptions: VideoOptions(videoId: "test", type: VideoType.vod));
await controller.initialize();
expect(fakeVideoPlayerPlatform.calls.first, 'initialize');
expect(fakeVideoPlayerPlatform.calls[1], 'create');
Expand Down

0 comments on commit 071555f

Please sign in to comment.