1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 03:50:08 +02:00

Fix tests

This commit is contained in:
2023-05-15 19:15:02 +02:00
parent 0fe9281e3c
commit 7f04dd5fcb
3 changed files with 5 additions and 6 deletions

View File

@ -60,7 +60,7 @@ class RealShellTest: XCTestCase {
expectation.fulfill()
}
wait(for: [expectation], timeout: 5.0)
await fulfillment(of: [expectation], timeout: 5.0)
}
func test_system_processes_run_in_parallel() async {
@ -74,6 +74,6 @@ class RealShellTest: XCTestCase {
}
await thing()
wait(for: [expectation], timeout: 1.0)
await fulfillment(of: [expectation], timeout: 5.0)
}
}