Skip to content

Commit

Permalink
Fix PlayerPublisherTests.testBuffering()
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Dec 11, 2024
1 parent d8a636c commit 10e97be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tests/PlayerTests/Publishers/PlayerPublisherTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ final class PlayerPublisherTests: TestCase {

func testBuffering() {
let player = Player(item: .simple(url: Stream.onDemand.url))
expectEqualPublished(
expectAtLeastEqualPublished(
values: [true, false],
from: Self.bufferingPublisher(for: player),
during: .seconds(1)
from: Self.bufferingPublisher(for: player)
)
}

Expand Down

0 comments on commit 10e97be

Please sign in to comment.