mirror of
https://github.com/home-assistant/iOS.git
synced 2026-02-18 23:10:10 -06:00
## Summary Implements the push send and rate limit information in Swift using Vapor. ## Any other notes This will allow us to get off Firebase, which gives a few immediate benefits: - We can send PushKit notifications for complications, widgets, and location updates. - We remove the last SDK that uses network connectivity to third parties.
20 lines
406 B
Swift
20 lines
406 B
Swift
@testable import App
|
|
import XCTest
|
|
import XCTVapor
|
|
|
|
class AbstractTestCase: XCTestCase {
|
|
// swiftlint:disable:next test_case_accessibility
|
|
var app: Application!
|
|
|
|
override func setUpWithError() throws {
|
|
try super.setUpWithError()
|
|
app = Application(.testing)
|
|
try configure(app)
|
|
}
|
|
|
|
override func tearDown() {
|
|
super.tearDown()
|
|
app.shutdown()
|
|
}
|
|
}
|