iOS/Sources/PushServer/Tests/AppTests/AbstractTestCase.swift
Zac West c0a73840d6
APNS server in Vapor (#2024)
## 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.
2021-12-26 00:23:33 -08:00

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()
}
}