import XCTest
import XCTVapor
@testable import App
final class UserTests: XCTestCase {
func testUsersEndpoint() throws {
let app = Application(.testing)
defer { app.shutdown() }
try configure(app)
try app.test(.GET, "api/users") { res in
XCTAssertEqual(res.status, .ok)
}
}
}
