Skip to content

Commit

Permalink
fix: Fix Unit test failing
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-coye committed Jan 31, 2024
1 parent 5ff0aaa commit baf039b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/InfomaniakCoreTests/UTTolerantDispatchGroup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ final class UTTolerantDispatchGroup: XCTestCase {
XCTAssertNotNil(dispatchGroup)
}

func testPriorityDefault() {
func testDefaultPriorityIsHigh() {
// WHEN
let dispatchGroup = TolerantDispatchGroup()

// THEN
XCTAssertNotNil(dispatchGroup)
XCTAssertEqual(dispatchGroup.syncQueue.qos, DispatchQoS.default, "default constructor should have default priority")
XCTAssertEqual(dispatchGroup.syncQueue.qos, DispatchQoS.userInitiated, "default constructor should have default priority")
}

func testPriorityAnyIsSet() {
Expand Down

0 comments on commit baf039b

Please sign in to comment.