Skip to content

Commit

Permalink
Fix testItemPlayback
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Dec 10, 2024
1 parent e675996 commit 84344e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class PlayerItemTrackerLifeCycleTests: TestCase {
func testItemPlayback() {
let player = Player()
let publisher = PlayerItemTrackerMock.StatePublisher()
expectEqualPublished(values: [.initialized, .enabled, .metricEvents, .metricEvents], from: publisher, during: .seconds(2)) {
expectAtLeastEqualPublished(values: [.initialized, .enabled, .metricEvents, .metricEvents], from: publisher) {
player.append(.simple(
url: Stream.onDemand.url,
trackerAdapters: [PlayerItemTrackerMock.adapter(statePublisher: publisher)]
Expand Down

0 comments on commit 84344e9

Please sign in to comment.